JSF2 (JavaServer Faces 2) - 3 days
Course Overview
The second revision of JSF is a major improvement over JSF1.2. As well as the reference implementation being much more stable and usable, the programming model has been simplified.
In particular, areas such as Ajax and GET requests which previously needed tricky programming, are now far more natural to code. This course assumes no previous knowledge of JSF or Java Web Frameworks, and enables delegates to build a professional level system from scratch.Objectives
By the end of the course delegates will:
- Have built a production quality JSF application
- Understand the difference between event-driven JSF and the standard action-oriented MVC model
- Be able to use the JSF validation system
- Have used third component libraries such as PrimeFaces.
- Be able to write Ajax applications
- Understand when GET and POST should be used
- Be able to use View Parameters to implement the POST-REDIRECT-GET pattern
- Be able to write your own custom components
Prerequisites
A knowledge of regular Java is required for this course - you'll need to be able to compile and build Java and write simple classes and create objects.Course Topics
Each theory session is followed by a practical session:
- Course Introduction
- What is JSF2?
- What was wrong with JSF1.x?
- Our first application
- Writing Facelet pages
- Layouts
- Internationalization
- JSF Tag Libraries
- Building Page Flows
- JSF and POST/GET
- POST-REDIRECT-GET (PRG)
- View Parameters
- Ajax, Validation, Conversion and Events
- Custom Component Libraries (eg: PrimeFaces)
- Building Your Own Components
