Building JEE Web Applications Using JavaServer Faces

Duration: 2 days
Type: intermediate

Description

This is an advanced course which introduces Java developers to all aspects of developing Web Applications with JavaServer Faces (JSF). Delegates must be experienced in J2EE development, preferably using the Struts Framework. By default the course is delivered using NetBeans and Tomcat, but other configurations can be supported if required.

Prerequisites

Delegates must be experienced in JEE Web Application development.

List of Modules

Introduction

Why do we need another framework?
Design goals behind JavaServer Faces
Key functionality provided by JSF
Integrating JSF with Struts and Spring
Combining JSF with the Tiles framework
Tool support currently available for JSF
Open Source JSF component libraries
Commercial JSF component libraries

Creating a Basic Web Application

The JavaServer Faces lifecycle
Installing the FacesServlet Front Controller
Creating a basic faces-config.xml file
Placing JSF components on JSP pages
Adding a managed bean to the application
Binding components to bean properties
Configuring navigation rules

Extending the Application

Understanding the JSF component tree
The JavaServer Faces lifecycle revisited
Initializing bean properties in faces-config.xml
Configuring lists and maps as managed beans
Binding bean methods to components
Handling events at different stages of the lifecycle
Controlling navigation between multiple pages
Converting and validating data entered by users

Advanced Features of JSF

Displaying information in tables
Creating your own Converters and Validators
Using third party JSF libraries
Creating your own JSF components