Java Server Faces Training
Java Server Faces with PrimeFaces
=====
—–
* Course Id : JAVA-JSFS
* Duration : 24 Hours
Overview
—–
* This training class teaches how to quickly build powerful Web and Ajax applications using JSF 2.1 and PrimeFaces
Training Objectives
—–
All attendees will learn:
* Understand JSF application lifecycle phases
* Use different events within a JSF application
* Code JSF component classes and tags in response pages
* Use the JSF EL (Expression Language)
* Create JSF managed beans in different scopes
* Manage navigation with Action methods and Listeners
* Work with validators and type conversion in JSF applications
* Create Facelets templates for common look-and-feel
* Implement composition components for reusable display elements
* Use PrimeFaces to implement Ajax functionality to update the page asynchronously
* Create a richer UI
Pre-Requisites
—–
Basic knowledge on:
* Basic computer skills
* Object-Oriented Programming in Java
* Awareness of web development frameworks and Java EE basics
Course Structure
—–
* We provide more focus on hands-on in our technical courses (typically 80% hands-on/20% theory)
* Students get the capability to apply the material they learn to real-world problems
Materials Provided
—–
* All participants receive
* PDF of slides
* PDF of handson
* Access to instance with lab environment
Software Requirements
—–
Any of the following
* Any current internet browser
* vnc client
* rdp client
Hardware Requirements
—–
* Processor: 1.2 GHz+
* RAM: 512 MB+
* Disk space: 1 GB+
* Network Connection with low latency (<250ms) to Internet
## Daywise Java Server faces Course Outline
—–
## Day 1
—–
Unit 1 : JSF 2.1 Overview
Unit 2 : GUI Components
Unit 3 : JSF application Navigation
Unit 4 : Backing Beans
Unit 5 : Conversion and Validation
## Day 2
—–
Unit 6 : JSF Events
Unit 7 : JSF Events (contd..)
Unit 8 : GUI Components (contd..)
Unit 9 : Page composition using Facelets
## Day 3
—–
Unit 10 : Ajax Overview
Unit 11 : Introduction to PrimeFaces
Unit 12 : Working with Primefaces
Unit 13 : Working with Primefaces (contd..)
## Detailed Java Server faces Course Outline
Unit 1 : JSF 2.1 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
* XHTML
* JSF 2 feature summary
* Annotations
Unit 2 : GUI Components
* 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
Unit 3 : JSF application Navigation
* 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
Unit 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
Unit 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
Unit 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
Unit 7 : JSF Events (contd..)
* 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
Unit 8 : GUI Components (contd..)
* 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
Unit 9 : Page composition using Facelets
* Templating
* 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
Unit 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
Unit 11 : Introduction to PrimeFaces
* PrimeFaces Background
* PrimeFaces Pros and Cons
* Configuring PrimeFaces
* Optional Files
* Using Ajax in PrimeFaces
* Partial Page Submission and Rendering
* Ajax Push
Unit 12 : Working with Primefaces
* Using PrimeFaces Themes
* Using themes in conjunction with Facelets
* Client-side validation with PrimeFaces
* Calendar Component and Options
* DataTable component
* Pagination
* Sorting
* Tree Component
* Trees and TreeNodes
* Calendar Component
* Charts
* Pie
* Bar
* Line
Unit 13 : Working with Primefaces (contd..)
* Menus
* Menuitems
* Submenus
* Dynamic Menus
* Menubars
* TabView components
* With Tabs
* Panel Components
* AccordionPanel
* OutputPanel and Ajax
