New Learning | Premium Moodle Theme

Introduction to JSF 2 with Primefaces


In this 4 Day course, students learn how to build Web and Ajax applications using JSF 2 and Primefaces. 


By the end of this course, students will be able to:

  • Understand the lifecycle of a JSF application request and response, and effectively use different events within a JSF application
  • Create and maintain JSF component classes and tags within Facelets in response pages. 
  • Understand and use the JSF Expression Language (EL)
  • Develop and maintain JSF managed beans 
  • Manage navigation with Action methods and listeners 
  • Use Validators and type conversion in JSF applications
  • Create a customized JSF GUI component 
  • Create Facelets templates to implement a common look-and-feel for JSF applications
  • Identify and implement composition components for reusable display elements
  • Create a simple Ajax application to receive data from a server and modify the web page asynchronously
  • Create a custom JSF component that will implement basic Ajax functionality
  • Use PrimeFaces to implement Ajax functionality within an existing application and create a richer user interface



It is recommended that students interested in taking this course have:

  • A Solid foundation in Java programming and OO principles 


Module 1: JSF Overview

  • Model View Controller
  • JSF elements - web.xml and faces-config.xml
  • The power of Facelets tile-like composition
  • debugging/error handling
  • custom logic tags and expressions

Module 2: GUI Components 1

  • Component Families
  • UIViewRoot and the FacesContext
  • The JSF lifecycle - GET vs. POST (JSF 2)
  • Facelets pages
  • Output components - text and labels
  • Forms
  • Formatting output
  • Inputting text and passwords
  • Messages and severity

Module 3: Navigation in JSF applications

  • Navigation rules and cases via annotations
  • Static vs. dynamic actions
  • Declaring navigation in faces-config.xml
  • JSF Expression Language
  • Comparison to JSP EL
  • Basic syntax
  • Array, Map and List access in JSF EL
  • JSF EL Operators
  • JSF EL Implicit Objects

Module 4: Backing Beans

  • The uses of backing beans
  • Declaring managed beans and properties via annotations
  • Managed beans and properties in faces-config.xml
  • Lists and Maps properties in Managed Beans
  • Using the FacesContext
  • Action methods in backing beans
  • Connecting to back-end services (Business logic, Persistence)

Module 5: Conversion and Validation

  • Conversion and Validation in the JSF Lifecycle
  • Implicit and explicit conversion
  • Date/Time conversion
  • Number conversion
  • Standard input validators
  • Implementing validation in backing beans
  • Displaying conversion/validation error messages
  • Custom converters and validators
  • Client-side validation

Module 6: JSF Events

  • The phases of JSF
  • Restore View
  • Apply Request Values
  • Process Validations
  • Update Model Values
  • Invoke Application
  • Render Response
  • GET vs. POST
  • Creating the view tree
  • Rendering the existing view tree
  • Page actions (JSF 2)
  • Action Events
  • Action methods and Action Listeners
  • Methods of ActionEvent and UIComponent
  • Value Change Events
  • Methods of ValueChangeEvent
  • Phase Events
  • Registering a Phase Listener
  • Specifying which requests are handled by the Phase Listener
  • Data Model Events

Module 7: GUI Components 2

  • Selecting items from lists
  • Checkboxes and radio buttons
  • Command Buttons and Command links
  • Panel Group and Panel Grid
  • Data Tables
  • Display-only data tables
  • “Interactive" data tables
  • New JSF 2 components (Date Picker, Tabbed View, Tree and File Upload)

Module 8: Writing Custom Components

  • The makeup of a Custom Component
  • Using the component in a JSP
  • Using attributes with a custom tag
  • Custom components that provide input

Module 9: Page composition using Facelets

  • Creating a Facelets template
  • Creating a Facelets client page
  • Creating a Facelets content page
  • Passing parameters to pages
  • Facelets and JSTL
  • Facelets composition components
  • defining a composition component
  • using a composition component
  • tips and tricks
  • Using other tag libraries
  • taglibs supporting Facelets

Module 10: Ajax Overview

  • XMLHttpRequest
  • GET vs. POST Requests
  • Leveraging Ajax in Web Applications
  • Connecting to the Server - Ready State and Status
  • Updating the Document Object Model for the Page

Module 11: Introduction to PrimeFaces

  • PrimeFaces Background
  • PrimeFaces Pros and Cons
  • Configuring PrimeFaces
  • Optional Files
  • Using Ajax in RichFaces
  • Partial Page Submission and Rendering
  • Ajax Push
  • Calendar Component and Options
  • DataTable component
  • Pagination
  • Sorting
  • Tree Component
  • TreeNodes
  • TreeRoot
  • Calendar Component
  • Menus
  • Menuitems
  • Submenus
  • Dynamic Menus
  • Menubars
  • TabView components
  • With Tabs
  • Panel Components
  • AccordionPanel
  • OutputPanel and Ajax



What's included?

  • Authorized Courseware
  • Intensive Hands on Skills Development with an Experienced Subject Matter Expert
  • Hands on practice on real Servers and extended lab support 1.800.482.3172
  • Examination Vouchers  & Onsite Certification Testing- (excluding 1-day Adobe, 1-day MS Office and PMP Boot Camps) 
  • Academy Code of Honor: Test Pass Guarantee
  • Optional: Package for Hotel Accommodations, Lunch and Transportation

Training Formats

With several convenient training delivery methods offered, The Academy makes getting the training you need easy. Whether you prefer to learn in a classroom or an online live learning virtual environment, training videos hosted online, and private group classes hosted at your site. We offer expert instruction to individuals, government agencies, non-profits, and corporations. Our live classes, on-sites, and online training videos all feature certified instructors who teach a detailed curriculum and share their expertise and insights with trainees. No matter how you prefer to receive the training, you can count on The Academy for an engaging and effective learning experience.


Instructor Led (the best training format we offer)
Live Online Classroom – Online Instructor Led
Self-Paced Video

Speak to an Admissions Representative for complete details

By far the most competitve price we found, which included exam vouchers, hands on labs, practice test and a true Master of Cyber Security concepts as our Instructor. Franklin Mesa was the best trainer I have ever had and i walked out certified on the last day of my CompTIA Security+ certification bootcamp. 

Marc Alfonso - CompTIA Security + Student


The Academy is one of the best educational values for today's job market.  I studied hard and got certified (A+ and N+).  Even though I had no prior IT experience, I now have a good job replacing obsolete computers in hospitals throughout the country.  At my job interview, I just slid my test scores and certification across the table to the interviewer, who is now my boss.  I was hired the next day.  

Not bad for a 65 year old.

John Arnett- Student 

"I congratulate The Academy for a great facility and good lab computers. The Academy is great and I will definitely be taking more courses and utilizing the services available. Omer Palo is an excellent instructor that truly knows his material. I never felt bored in his class which is a first for me. Thank You."

IT Director, Burger King Corporation

"The instructor Frank Martinez is excellent – he covered so much material in 2 weeks that was unbelievable! He definitely knows what he does and it shows in the way that he conducts each lecture. He is the greatest!"
"Thanks Academy for allowing me to experience the MCSA / MCSE + Security Boot camp."

IT Professional, Florida International University



Contact Us



FTL: 954.351.7040

MIA: 305.648.2000

Request More Information


Current Promotions!






Email Newsletter icon, E-mail Newsletter icon, Email List icon, E-mail List icon Sign up for our Email Newsletter!



Students - Orbund Log-In