Audience
This course is intended for delegates with Java experience who wish to implement the User Interface (UI).
Prerequisites
Attendance on our Java Programming course, or an equivalent level of knowledge, is essential.
Duration
5 days. Hands on.
This course is available on site only. Please call for details.
Course Objectives
J2EE applications are built using the Model-View-Controller design pattern, with Java Servlets providing the Controller component, while JavaServer Pages support the View component. This course discusses in-depth the servlet technology, and JavaServer Pages as technologies to implement the web interface. This course focuses on these core J2EE technologies, with practical exercises carried out using the Apache Tomcat Servlet Container.
At the end of this course, delegates will be able to:
- Understand the implications for implementing the web interface in an MVC design pattern.
- Manage user state with session management.
- Understand J2EE security Discuss relevant Design Patterns.
Course Content
Production
Enterprise Software Development.
J2EE Overview.
Presentation Layer Considerations.
Java Serverlets
Servlet concepts.
Handling the client request: Form data.
Handling the Client request: HTTP request headers.
Generating the Server response: HTTP Status codes.
Generating the Server response: HTTP Response Headers.
Describe the servlet life cycle.
Using and deploying web applications.
Controlling web application behaviors with web.xml.
Sharing data through the container.
Scope – Request, session and context.
Request Dispatching - Including and forwarding.
Servlet filters and wrappers.
Session Life cycle.
Managing Session State.
Listeners.
Java Server Pages
Java Server Pages (JSP) Concepts.
Anatomy of a JavaServer page.
EL.
Tag Libraries.
JSTL.
Forwarding and including fragments.
Custom Tags.
Writing Java scriptlets.
Building a web application using MVC.
Security
Security mechanisms.
Deployment Descriptor Security Declarations.
Authentication types.
J2EE Patterns
Core J2EE Patterns.
Intercepting filter pattern.
Front Controller pattern.
Model View Controller pattern.
Business delegate pattern.
Service locator pattern.
Transfer object pattern.