JavaServer Faces Training

Answers to Popular Questions:

Yes, this class can be tailored to meet your specific training needs.
Yes, we provide Java Programming consulting services.
Yes, group discounts are provided.

Course Description

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.
Course Length: 2 Days
Course Tuition: $1090 (US)


Java Programming, Java Web Programming, and familiarity with HTML.

Course Outline


Getting Started with JSF
GUI Development
A JSF Application
JSF Components
Managed Beans
JSF Application Structure
Running the Application

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

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

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
Adding Editable Components

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
Execute and Render
The onevent Attribute
The onerror Attribute
The listener Attribute

Appendix A – Internationalization
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. Redirect1. Web Applications and MVC

Course Directory [training on all levels]

Upcoming Classes
Gain insight and ideas from students with different perspectives and experiences.

Interesting Reads Take a class with us and receive a book of your choosing for 50% off MSRP.