Java Training Overview
This two-day course teaches Java programmers how to build dynamic web applications using JavaServer Pages, Servlets and JavaBeans. These technologies combine to form the presentation side of a J2EE web-based application. Students will implement a Model-View-Controller (MVC) architecture for their web applications. This course is current to the Servlet 3.0 specification and runs on Tomcat 7.0.
Java Training Audience
Java programmers who need to develop web applications using JSPs and Servlets.
Java Training Prerequisites
Java Programming, HTML.
Java Training Course duration
2 Days
Java Training Course outline
1. Web Applications and MVC
- Web Applications
- JSPs and Servlets
- Model-View-Controller
- Model 2 Architecture
- The WAR File
- web.xml
- Building the WAR
- Deploying the WAR
2. JavaServer Pages
- Introduction to JSP
- JSP Syntax
- JSP Scripting Elements
- Request and Response Implicit Objects
- page Directive
- Error Handling
- The include Directive
- Include and forwared Actions
3. Java Servlets
- HTTP Requests
- HttpServlet
- Servlet Lifecycle
- @WebServlet Annotation
- RequestDispatcher
- HttpSession
- ServletContext
- Servlet Filters
- JSP vs. Servlet
4. JavaBeans
- What is a JavaBean?
- Rules
- Properties
- Using JavaBeans in JSPs
- Properties and Forms
- Data Access Objects
- Resource Reference
- Bean Scopes in Servlets
- Bean Scopes in JSPs
5. JSP Expression Language
- JSP Expression Language
- Literals
- Variables
- The . and [ } Operators
- Other Operators
- Implicit Objects
6. Introduction to JSTL
- What is JSTL?
- Core Tags – Conditionals
- Core Tags – Iterations and Import
- Variables, Output, and Exceptions
- XML Manipulation Tags
- Internationalization Tags
- SQL Tags
7. Security
- Concepts
- Constraints
- Roles
- Login-config
- BASIC Authentication
- FORM Authentication
- Login and Error Pages
- Java™ Web Programming
8. Appendix A – Tag Libraries
- Custom Tags
- Using Custom Tags
- Defining Tags
- Tags with Attributes
- Fragments and Variables
- Packaging Tag Files
9. Appendix B – ANT
- What is ANT?
- build.xml
- Tasks
- Properties and Property Files
- Managing Files and Directories
- Filesets
- Java Tasks
- Creating Java Archives
- Specifying Paths
- Miscellaneous Tasks
|