Java Server Faces - JAV280

This two-day Java Server Faces 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.
Course ID: JAV280

Duration: 2 days

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

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

Getting Started with JSF

  • GUI Development
  • JavaServer Faces
  • A JSF Application
  • JSF Components
  • Managed Beans
  • Configuration Files
  • JSF Application Structure
  • Running the Application

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

Managed Beans

  • Managed Beans and MVC
  • Properties
  • Configuring Beans
  • Bean Scope
  • Value Bindings
  • Method Bindings
  • Dynamic Beans - Lists
  • Dynamic Beans - Maps
  • Advanced Property Initialization

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

Navigation

  • Navigating Through a JSF Application
  • Basic Navigation Configuration
  • From View Id
  • From Action
  • Forward vs. Redirect

Data Table Component

  • Data and Tables
  • Basic Structure
  • Headers and Footers
  • Styles
  • Adding Editable Components
  • DataModel
  • Sorting
  • Scrolling

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
  • Using the Custom Component

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
 

Call Toll-free 877-245-6815 or 303-416-3056 to set up your IT Training today.