Summary
3 days
JavaServer Faces it is a new Framework for developing web application, declared as a standard by Sun Microsystems and it is a part of J2EE 1.4.
JavaServer Faces technology simplifies building user interfaces for web applications. With the well-defined programming model that JavaServer Faces technology provides, developers can quickly and easily build web applications. This course introduces the developer to the JSF architecture.
After taking this class, the developer will be able to quickly develop dynamic web applications using new JSF framework.
Prerequisites
Before attending this course, students must have:
Taken course Servlets and Java Server Pages - Servlets and Java Server Pages Or have equivalent knowledge and skills.
Objectives
This class combines lectures with hands-on experience that will help students to understand JSF.
Exam Information
There is no exam associated with this course.
Course Outline
Chapter 1: Introduction
This module explains the following:
- What is JavaServer Faces?
- Main Components
- Benefits of JSF
- What is JSF Application?
- Why JSF?
Chapter 2: JSF Architecture
This module explains the following:
- Physical Components
- How Does JSF Work?
- The FacesServlet
- The Lifecycle Object
- Reconstitute Component Tree
- Apply Request Values
- Process Validation
- Update Model Values
- Invoke Application
- Render Response
Chapter 3: Expression Language
This module explains the following:
- What is EL?
- EL Basics
- EL Identifiers
- EL Implicit Objects
- EL Operators
Chapter 4: UI Components
This module explains the following:
- Overview
- Developing a JSP
- HTML Component Tags
- The <h:commandButton> Tag
- The <h:outputLink> Tag
- The <h:inputText> Tag
- The <h:outputText> Tag
- The <h:messages> and <h:message> Tags
- Panels
Chapter 5: Objects for Request Processing
This module explains the following:
- Overview
- The FaceContext Object
- The ExternalContext Object
- Example
- The Application Class
- The ValueBinding Class
- Accessing Backing Beans
Chapter 6: Page Navigation
This module explains the following:
- Navigation Rules
- Action Method
- Configuring Navigation Rules
Chapter 7: Event Model
This module explains the following:
- Overview
- Action Event – Backing Bean Method
- Action Event – ActionListener Class
- ValueChange Event
Chapter 8: Validation
This module explains the following:
- Overview
- Custom Validators
- Backing Bean Method
- ValidatePostalCode Method
- Creating the Custom Validator
- Creating the Validator Class
- Register the Validator Class
- Creating the Custom Tag Handler
- Creating the TLD File
- Reference the Validator in the JSP pages
Chapter 9: Data Conversion
This module explains the following:
- Overview
- Custom Convertors
- Create the Custom Converter
- Example of Custom Converter
|