Home About Courses Schedule Services Webinars Contact Search

Fast Track to JavaServer Faces 2 (JSF 2.2) plus PrimeFaces


Duration: 5 Days

Method: Instructor led, Hands-on workshops

Price: $2750.00

Course Code: JA1026


Front-end developers, back-end developers, and architects


JSF is a JEE technology that focuses on simplifying the building of Web based user interfaces in Java. It builds on existing technologies, such as Servlets/JSP, but solves many of the issues that arise when using them directly. It does this by providing a standard component based user interface (UI) framework that can be leveraged by tools to provide a rich and easy to use development environment.This course will get you up to speed with JSF 2 in a very short time. It includes all the important concepts, as well as numerous hands on labs that will have you building working JSF applications very quickly. It covers all the important architectural concepts, as well as providing practical instruction on how to use the many capabilities of the JSF framework. It includes coverage of all important capabilities that are new in JSF 2, including using Facelets, the JSF 2 annotations, and Faces Flow (JSF 2.2). Lastly, it provides an introduction to the PrimeFaces component library - the most widely used JSF library.The course includes a broad coverage of the most important JSF capabilities, including the JSF architecture, working with managed beans, the JSF Expression Language, creating JSF pages with facelets and/or JSP, the JSF core and HTML tag libraries, data tables, validation, and conversion. After learning this material, you'll be ready to use JSF to create your own solutions in the most demanding situations. All labs are done with either RAD / WebSphere or the Eclipse IDE Java EE version deploying to the WildFly application server. The lab instructions include detailed directions for using them.


Upon successful completion of this course, the student will be able to:

  • Understand the shortcomings of servlets/JSP, and the need for a framework like JSF
  • Understand MVC and the JSF architecture
  • Create & configure applications using JSF, including the FacesServlet, and the faces-config.xml file
  • Understand and use Managed Beans to manage application data
  • Configure navigation rules for your Web application
  • Use facelets to create JSF2 Web pages
  • Use the JSF core and html tags and the JSF expression language
  • Lay out tables using the JSF h:dataTable and associated tags
  • Handle action events, value change events, and data model events
  • Use JSF Validators to validate your input data
  • Understand and use JSF data conversion
  • Use composition to create custom tags and templates
  • Understand the JSF request lifecycle, and write phase listeners
  • Understand and use Faces Flow (JSF 2.2)
  • Be familiar with the PrimeFaces Component Library
  • Use core PrimeFaces input and layout components
  • Add Ajax functionality with PrimeFaces
  • Use PrimeFaces themes to customize your look and feel


This an advanced level JSF training course, designed for J2EE developers that need to further extend their skills in web development. Attendees should have an extensive working knowledge of basic Java and Java EE servlets and JSPs.


  • I. Overview of Java EE and Java Web Applications
    • Java EE and Web App Overview
    • Servlet, Servlet Scopes
    • JSPs, JSP Lifecycle
    • Custom Tags, Tag Libraries, taglib directive
    • Model View Controller
  • II. Getting started with JSF
    • JSF Overview
      • Purpose and Goals
      • JSF Architecture
      • JSF Views - facelets and JSP Pages
      • Managed Beans, Controler, configuration
    • Downloading and Installing JSF
    • Your first JSF Application - setup, configuration, deployment
    • Server setup and use
  • III. Managed Beans
    • Defining a Managed Bean (annotation-based and configuration in faces-config.xm)
    • Managed Bean Lifecycle
    • Managed Beans and JSF Forms
    • Managed Beans as Value Binding Expressions
    • JSF Expression Language (EL) & the Unified EL (JSF 1.2)
    • Value Binding Expressions
    • Method Binding Expressions
    • Implicit Objects
  • IV. JSF Navigation
    • <navigation-rule> configuration issues
    • <navigation-case> and nested elements
    • How to use the navigation rules
  • V. Facelets and JSF Tag Libraries
    • Facelet Introduction and Life Cycle
    • JSF Tag Library Overview
    • JSF Core tags <f:tagName>
    • JSF HTML tags <h:tagName>
    • Using the Most Common Form controls – TextFields, Buttons, Links …
  • VI. h:dataTable
    • <h:dataTable> tag and nested tags <h:column> etc.
    • Working with collections of type List or array
    • Table headers and footers, f:facet
  • VII. More about JSF Tags
    • Using <h:commandLink> and <h:outputLink>
    • Using the h:selectXxx Tags (e.g h:selectManyListbox)
    • JSF Event Model (Action, Value Change, and Data Model Listeners)
  • VIII. JSF Data Validation
    • Standard Validators
    • required, validateDoubleRange, validateLongRange
    • Creating, configuring, and using Custom Validators
  • IX. JSF Data Conversion
    • Standard JSF Converters
    • convertDateTime, convertNumber - configuration and usage
    • Custom Converters
  • X. Templates
    • Layout Issues in Web Pages
    • Using Templates with Facelets
    • Creating Custom Composite Components
  • XI. JSF Lifecycle
    • Lifecycle Overview
    • Initial requests and postbacks
    • Restore View, Apply Request Values, Process Events, Process Validations, Update Model Values, Invoke Application, Render Response
    • renderResponse() and renderComplete()
    • Phase listeners
  • XII. . Additional Topics
    • Backing Beans / UIComponents
    • JSF and CSS
    • JSF and JavaScript
    • Localization and Resource Bundles
  • XIII. JSF and Ajax
    • Ajax Overview
    • Using f:ajax
    • Event Triggers for "Ajax-ified" Components
    • Listener Methods
  • XIV. Composite Components
    • Overview
    • Using composite:interface, composite:attribute, and composite:implementation
    • Passing Managed Beans and Methods to a Component
    • Adding Listeners and Actions
  • XV. Introducing Faces Flow
    • Overview
    • Defining a Simple Flow
    • Flow Configuration - XML and Java
    • Flow Scoped Data
    • Nested Flows
  • XVI. JSF and HTML5 Integration
    • Overview
    • Pass-Through Attributes
    • Pass-Through Elements
  • XVII. Introduction to PrimeFaces
    • Overview
    • Download and Installation
    • Hello PrimeFaces World - a Simple Example
    • PrimeFaces Configuration and Options
  • XVIII. PrimeFaces Components
    • Overview
    • Input: Date and Numeric Components (e.g. p:calendar, p:spinner/slider)
    • Layout: p:accordionPanel, p:tabView
  • XIX. Ajax with PrimeFaces
    • Overview, Comparison to Standard JSF
    • Adding Ajax Functionality
    • Specifying Elements to Update
    • Other Functionality
  • XX. PrimeFaces Themes/Skins
    • Overview
    • Installing / Specifying Themes
    • Working with Themes