Live Chat
Monday - Friday 8am - 6pm EST Chat Now
Contact Us
Monday - Friday 8am - 8pm EST 1-866-716-6688 Other Contact Options

Cart () Loading...

    • Quantity:
    • Delivery:
    • Dates:
    • Location:


Java Server Faces 2

New – Learn how to create managed beans and how to use the JSF Core and HTML tag libraries to generate dynamic HTML content.

GK# 6941

Course Overview


This intensive, hands-on, two-day course teaches Java web developers how to create JavaServer Faces (JSF) 2.0 based web applications.

After a quick introduction to the technology, students will learn how to create managed beans and how to use the JSF Core and HTML tag libraries to generate dynamic HTML content. They will then learn the JSF lifecycle and how to trigger server-side event handler code. Next, students will learn how to use the Data table component to easily display large amounts of data in an HTML table. The course continues with coverage of validation and conversion, including customization of these phases. Finally, students will learn how to use the JSF 2.0 Ajax capabilities.


  • Delivery Format:
  • Date:
  • Location:
  • Access Period:


What You'll Learn

  • Getting Started with JSF
  • Managed Beans
  • JSF Tag Libraries
  • JSF Lifecycle and Event Handling
  • Data Table Component
  • Validators and Converters
  • Ajax
  • Internationalization
  • Faces-Config.xml Navigation


Viewing outline for:

Classroom Live Outline

Getting Started with JSF

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

Managed Beans

  • Managed Beans and MVC
  • Properties  
  • Managed Bean Annotations  
  • Bean Scope Annotations  
  • Value Expressions  
  • Method Expressions

JSF Tag Libraries

  • The JSF Component Tree  
  • JSF Tag Libraries  
  • Resources  
  • Forms  
  • Input Tags  
  • Output Tags  
  • Submitting Form Data with HTTP Post  
  • View Parameters  
  • Passing Data with HTTP Get  
  • Checkboxes  
  • Radio Buttons, Listboxes, and Menus  
  • Panels

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

Data Table Component

  • Data Tables  
  • Basic Structure  
  • Facets  
  • 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


  • Ajax and JSF  
  • Events  
  • Execute and Render  
  • Grouping  
  • Validation  
  • The onevent Attribute  
  • The onerror Attribute  
  • The listener Attribute

Appendix A – Internationalization

  • I18NandL10N  
  • Resource Bundles  
  • Configuring a Resource Bundle  
  • Using a Resource Bundle  
  • Specifying the Locale  
  • I18N in Custom Code  
  • Dates and Numbers

Appendix B – faces-config.xml Navigation

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



Familiarity with HTML.

Who Should Attend


Web developers who want to efficiently create complex web applications with JSF 2.0.

Course Delivery

This course is available in the following formats:

Classroom Live

Receive face-to-face instruction at one of our training center locations.

Duration: 2 day

Virtual Classroom Live

Experience expert-led online training from the convenience of your home, office or anywhere with an internet connection.

Duration: 2 day

Request this course in a different delivery format.