RKCP Information Technology
                                                                                                          JSF (Java Server Faces)
Home » Courses   » JSF

JSF (Java Server Faces)

Sun's JavaServer Faces (JSF) technology simplifies the creation of user interfaces for Java web applications. In this hands-on class, attendees learn how to rapidly build JSF applications.

Overview

Sun's JavaServer Faces (JSF) technology simplifies the creation of user interfaces for Java web applications. In this hands-on class attendees learn how to rapidly build JSF applications.


Objective

At the end of JavaServer Faces training course, the participants will be able to:

  • 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 the JSF custom tag libraries to build JSF

Suggested Audience

Java Developers

Duration - 3 Days


Prerequisites

Solid foundation in Java programming and prior hands-on experience developing JavaServer Pages. Beyond this, the class can be customized to any level of Java and JSP familiarity.


Syllabus

Expand All
  • 1. Overview
    • Java EE and Web Applications
    • Perspectives: Servlets and JSP
    • The Model/View/Controller Pattern
    • Perspectives: MVC Frameworks
    • The Command Pattern
    • Perspectives: AWT and JFC
    • JSF Value Proposition
    • JSF Configuration
  • 2. Lifecycle and Page Navigation
    • The JSF Request/Response Cycle
    • Lifecycle Phases
    • The FacesContext Class
    • Who Does What
    • View Selection
    • Navigation Rules
    • Outcomes
  • 3. User Interface Components
    • The Composite View Pattern
    • The UIComponent Class
    • Behavioral Interfaces
    • The Core and HTML Tag Libraries
    • Relationship to CSS
    • ID, Client ID, and Label
    • The UISelectItem(s) Class
    • Navigating the UI Tree
  • 4. Managed Beans
    • JavaBeans and JSF
    • Backing Beans
    • The Factory Pattern
    • Managed Beans
    • Coarse-Grained Beans
    • The Unified Expression Language
    • Value Expressions
    • Dependency Injection
    • Bean Scopes
  • 5. Events and Controllers
    • The Observer Pattern
    • JSF Event Model
    • Event Types and Timing
    • Event Queueing
    • ActionEvent and ActionListener
    • Action Methods
    • Connecting Controllers to Beans
    • Dynamic Outcomes
    • ValueChangeEvent and ValueChangeListener
    • Limitations of FacesListeners
  • 6. Converters
    • The Adapter Pattern
    • The Converter Interface
    • Standard Converters
    • Working with Enumerated Types
    • Timing of Conversion
    • Custom Converters
    • Configuring Converters
  • 7. Validators
    • Validating Input
    • The Validator Interface
    • Standard Validators
    • Producing Error Messages
    • Message Keys
    • Presenting Error Messages
    • Custom Validators
    • Validating Multiple Inputs
    • Using a PhaseListener
  • 8. Data Tables
    • Managing Tabular Data
    • The JSF Data Table
    • Columns
    • Facets
    • Limitations and Strategies
    • Nesting Tables
  • 9. Conclusion