JavaServer Faces

Public Training Price: $1295 per student
Private Training Price: $4795 for up to 3 students*
*Additional students subject to a nominal fee
Share

 

 

 

JavaServer Faces Training Class Summary

JavaServer Faces (JSF) is a specification that applies traditional GUI frameworks and architectures to web applications. JSF brings event-driven, component-based GUI development to the server-side. JSF defines GUI components that are independent of a presentation technology, specifies an event model so that your server-side GUIs can be coded like client-side GUIs, and handles basic conversions, validation, and navigation for you, unlike JSP/Servlet applications, where you need to write this code yourself. JavaServer Faces clearly separates view logic from business and control logic.

This two-day course teaches Java web developers how to use JavaServer Faces in their web applications. Students will learn the standard JSF tag libraries and write managed beans and event handlers. They will also write configuration files for managed beans and navigation in XML. Data table components are used to easily display data from databases and other sources in an HTML table. The course ends by covering the topics of validation and conversion, including customization of these phases, and an appendix on internationalization topics.

Audience: Web developers who want to efficiently create complex web applications.

Prerequisites: Java Programming, Java Web Programming, and familiarity with HTML.

Class Length: 2 days

JavaServer Faces Training Class Objectives
  • Describe the JavaServer Faces (JSF) architecture.
  • Build a JSF component tree with Core and HTML tag libraries.
  • Create JavaBeans with properties and methods that are bound to JSF components.
  • Describe the six phases of the JSF request-processing lifecycle.
  • Use both Action Events and Value Change Events to react to user interface interactions.
  • Add entries to faces-config.xml to configure navigation through complex applications.
  • Use the data table component to present tabular information.
  • Write your own validators and converters to ensure the legality of user input.
JavaServer Faces Training Class Detailed Outline
  1. Course Introduction
    • Course Objectives
    • Overview
    • Suggested References
  2. Getting Started with JSF
    • GUI Development
    • JavaServer Faces
    • A JSF Application
    • JSF Components
    • Managed Beans
    • Configuration Files
    • JSF Application Structure
    • Running the Application
  3. JSF Tag Libraries
    • The JSF Component Tree
    • JSF Tag Libraries
    • Forms
    • Input Tags
    • Output Tags
    • Buttons and Links
    • Checkboxes
    • Radio Buttons, Listboxes, and Menus
    • Panels
  4. Managed Beans
    • Managed Beans and MVC
    • Properties
    • Configuring Beans
    • Bean Scope
    • Value Bindings
    • Method Bindings
    • Dynamic Beans — Lists
    • Dynamic Beans — Maps
    • Advanced Property Initialization
  5. JSF Lifecycle and Event Handling
    • JSF Lifecycle Overview
    • Restore View Phase
    • Apply Request Values Phase
    • Process Validation Phase
    • Update Model Values Phase
    • Invoke Application Phase
    • Render Response Phase
    • JSF Events
    • Action Events
    • Value Change Events
    • Immediate Events
  6. Navigation
    • Navigating Through a JSF Application
    • Basic Navigation Configuration
    • From View Id
    • From Action
    • Forward vs. Redirect
  7. Data Table Component
    • Data and Tables
    • Basic Structure
    • Headers and Footers
    • Styles
    • Adding Editable Components
    • DataModel
    • Sorting
    • Scrolling
  8. Validators and Converters
    • Validation and Conversion within the JSF Lifecycle
    • Converting Dates
    • Converting Numbers
    • Displaying Conversion Errors
    • Built-In Validators
    • Customizing Error Messages
    • Writing Your Own Converter
    • Custom Converter Configuration
    • Writing Your Own Validator
  9. Appendix - Internationalization
    • I18N and L10N
    • Resource Bundles
    • Configuring a Resource Bundle
    • Using a Resource Bundle
    • Specifying the Locale
    • I18N in Custom Code
    • Dates and Numbers

.