Java Server Faces JSF Training Course

Duration: 3 days
Course code: SS-JEE-052

Audience

This course is designed for Java developers looking to learn how to build maintainable and extensible web applications. Architects and designers will also benefit from knowing this technology.

  • Developers
  • Designers
  • Architects
  • Consultants
Prerequisites

Audience should know Java and JSP/Servlets.

Description

The Java Server Faces (JSF) training course covers the standard framework for building Java-based Web Applications. Using JSF, developers take a component-centric view of graphical user interface development similar to traditional GUI application development where the focus is on layouts, widgets, their inter-relationships, events and event handlers. All the HTTP back and forth - i.e., requests and responses, translation of HTTP parameters to application-specific data types, validation, invocation of business logic - is handled by the JSF framework. JSF-based web applications run within a web container (servlet or portlet). The framework provides Web application lifecycle management through a controller servlet. It provides a rich user interface component model complete with event handling, component rendering and declarative navigation. And it is extensible too so that you may create and use your own custom components.

The Java Server Faces training course covers the latest JSF specification. You will learn how to build maintainable, extensible, robust and visually appealing web applications. You will also master the JSF component set and will also learn how to create custom components. You will learn how to create templates for a consistent look-and-feel by using the Facelet framework. This course also provides a quick introduction to AJAX and shows you how to integrate AJAX in JSF applications. You will also learn how to create a custom AJAX-based JSF component.

The Java Server Faces (JSF) training course is a hands-on course and at least 60% of the time will be devoted to labs.

Objectives

This highly hands-on course will teach the audience all the inner workings of the JSF framework and how to build JSF-based Web applications. Upon completion, students will be able to:

  • Understand the JSF component model
  • Understand the JSF life-cycle management of requests
  • Understand the event handling model
  • Use the JSP tags to access the components
  • Use the JSF validators
  • Develop custom validator
  • Develop custom components
  • Develop custom renderers
  • Define the navigation rules declaratively
  • Use the Facelet framework
  • Developing AJAX-based JSF applications

Outline for Java Server Faces JSF Training Course

Overview of JSF

  • Overview of JSF Framework
  • First look at a JSF sample application
  • Requirements to run a JSF-based Web application

The JSF Lifecycle

  • The JSF controller servlet
  • Request tree construction
  • Applying request values
  • Handling request events
  • Processing validations
  • Invoking application and updating models
  • Rendering responses

JSF User Interface Component Model

  • Overview of JSF component model classes
  • Rendering model
  • Conversion model
  • Event model
  • Validation model
  • Standard user interface components
  • JSF per-request context info

JSF Event Handling

  • JSF event model
  • Event objects and event listeners in JSF
  • Writing listeners for UI components

JSF Validation Framework

  • Standard validation classes
  • Validation class registration
  • Custom validator implementation
  • Data conversion

Building JSF Custom Components

  • Custom components overview
  • Java classes for building custom components
  • Custom renderer
  • Implementing custom components
  • Using custom components in your page

Building JSF Renderers

  • Overview of rendering process
  • Standard renderers
  • Writing a custom render
  • Using custom renderer

Internationalization (I18N) and Localization (L10N)

  • Overview of I18N and L10N in Java
  • Supporting I18N and L10N in JSF
  • Localizing error messages in validation

Facelet = A View framework

  • Overview of Facelets
  • Creating re-usable templates with Facelets
  • Using Facelets in JSF pages
  • Composition components

AJAX and JSF

  • Overview of AJAX
  • Using JavaScript and XML in JSF applications
  • Creating AJAX-based custom JSF components

Comments are closed.