This class combines lecture with a unifying, hands-on experience, and open ended discussion that will help the developer quickly understand the benefits of JSF and how to use the framework. Upon completion of the course, students will:
- Become familiar with the JSF tags for the commonly used HTML components in a form.
- Learn how to write event handler methods in a managed bean.
- Learn how to register the event handler method with a GUI component.
- Write navigation rule in faces-config.xml.
- Control the sequence of page display based on certain business logic.
- Add very besic validation to the intro.jsp page
- Display objects in an ArrayList in a data table.
WebSphere Training Course duration
3 days
WebSphere Training Topics
- Introduction and Overview
- The JSF Architecture
- JSF Request Objects
- Simple JSF User Interface components
- The EL Expression Language and Advanced User Interface components
- Event Handling
- Data Validation
- Data Conversion
- Rendering Custom User Interface Objects
WebSphere Training Recommended Follow on Courses
- J2EE Server Side Enterprise Java Beans
- Advanced XML
WebSphere Training Course outline
1. Introduction to JSF
- JavaBeans with JSPs (Refresher)
- Custom Tag Libraries (Refresher)
- What is JSF
- Motivation behind the technology
- Comparison with JSP and JavaBeans
- Comparison with Struts
- Advantages of JSF
- JSF Concepts
- User Roles and responsibilities
- Request Processing Lifecycle Phases
2. User Interface Component Model
- UI Component Interface Introduction
- UI Components
- JSF Core Tag Libraries
- HTML Tag Libraries
3. JSF Event Handling
- Event & Listener Model
- Event Classes
- Listener Classes
- Phase Identifiers
- Handling Events in JSF
4. Page Navigation in JSF
- Navigation Rules
- Page Navigation
- Conditional Navigation
5. Validators
6. Advanced UI Components
- UIPanel components
- Data grid
7. Using JSF in JSP
- Techniques for adding JSP Standard Template Library (JSTL) tags in conjunction with JSF.
8. JSP Expression Language
- Introduction to EL
- Writing better JSF application using JSP EL
9. Data Conversion
- What is data conversion in JSF
- Using the standard data coversion.
- Writing custom data conversion
10. Writing custom Components
- When to develop custom components
- Understanding the rendering model
- Steps to develop a custom component
- Display rendering
- Data assignment
- Event handling
11. Faces Client Framework
- What is Faces Client
- Motivation behind the framework
- Defining client data
- Binding client data to controls
- Using the built in faces client controls
- Data Grid
- Graph
- Tree View
- Web Service
- Lab: Using the Data Grid