JavaServer Faces Version 2.0
Length: 5 days Price (Excl. GST): $2750.00 per person
This comprehensive course shows Java programmers how to build web applications with JavaServer Faces 2.0. We develop the best-practice concepts that are formalized by the JSF architecture, from model/view/controller to the UI component framework and request-handling lifecycle. Students start to discover that there is a "JSF way" of doing things, and we learn not just APIs and tag libraries but the habit of slicing application logic into its most reusable forms: managed beans, event listeners, converters, validators, and more.
Students acquire a firm command of JSF development, learning to work with JSF's list and table components, building reusable composite components, and building Ajax applications. Simple, high-level Ajax functionality is covered, and students also work more directly with JSF's JavaScript API and resource-management framework.
Learning Objectives
- Understand the purpose and scope of the JSF architecture
- Build web applications using JSF's FacesServlet, faces-config.xml, and the JSF request/response lifecycle
- Use Facelets tag libraries to build JSF views
- Use managed beans to encapsulate form handling and server-side presentation logic
- Implement control logic as JSF event listeners or action methods
- Use validators and converters to implement a validation phase for a JSF application
- Build composite UI fragments or custom components using Facelets
- Build Ajax applications with JSF: client-side behaviors and partial requests and responses followed by DOM updates
Pre-requisites
- General note: This course is intended primarily for experienced Java application developers. Page authors, component developers, and others who may have little or no Java experience (but perhaps are stronger on HTML, JavaScript, and JSP) may well find this to be a valuable training experience, though without solid Java skills many of the coding exercises will be difficult to follow.
- Java programming experience is essential to understanding the JSF API as presented here
- General understanding of servlets and JSP is recommended, but not required
- Basic knowledge of XML will be helpful, as will any previous experience with HTML.
Course Content
Overview |
Lifecycle |
UI Components |
Page Navigation |
Managed Beans |
Scopes |
Dependency Injection |
Facelets |
Events and Listeners |
Lists and Tables |
Converters |
Validators |
Resources | Composites |
AJAX |
The JSF JavaScript API |