Instructor-led training
Fast Track to JavaServer Faces (JSF) : Using JSF to Build J2EE Web AppsUsing Rational Application Developer (RAD) Training in Spanish Fork, Utah
This three-day course will get you up to speed with JSF in a very short time.
What you'll learn
Private Training for Teams
This course is offered as private, instructor-led training for organizations, onsite in Spanish Fork, Utah or live online. Dates, delivery format, and course content are arranged around your team's requirements.
This course is not currently scheduled as a public class for individual enrollment.
Request Group TrainingPrerequisites
Course Outline
What makes JSF hard to master
JSF is a component framework, not a template with form handlers. The syntax is easy to pick up. The difficulty is that the framework runs a fixed processing sequence around your code, and many bugs come from not knowing where in that sequence something happens. The syllabus builds toward this in order.
- Web foundations first (session 1). Servlets, servlet scopes, the JSP lifecycle, custom tags and the taglib directive, and Model View Controller. Managed bean scope and the JSF tag libraries make little sense without these.
- Managed beans and the Expression Language (session 3). Value binding expressions read and write properties, and method binding expressions invoke actions. The syllabus covers the Unified EL (JSF 1.2), implicit objects, and bean definitions in faces-config.xml. A common misconception is that a bean is just a form-backing object. Its scope and lifecycle decide what state survives between requests.
- Tags and data tables (sessions 5-7). The core and HTML tag libraries, form controls,
h:dataTableover a List or array, headers and footers withf:facet,h:selectXxxtags, and the event model. - Validation and conversion (sessions 8-9). Standard and custom validators and converters, including
convertDateTimeandconvertNumber. Developers often expect a failed validation to leave the model untouched, and it does, but they cannot explain why until they know the lifecycle. - The lifecycle (session 10). Restore View through Render Response, initial requests versus postbacks,
renderResponse()andrenderComplete(), and phase listeners. This session ties the earlier ones together and is the most useful debugging tool in the course.
Navigation rules (session 4) add a further indirection: actions return outcomes, and configuration maps outcomes to pages.
Who it suits and what to take around it
This is an introductory, three-day course for programmers with some Java and object-oriented experience. It suits teams that build, maintain or support JSF applications defined by faces-config.xml managed beans and navigation rules, and teams moving a web team from Servlets/JSP to a component model. The course title names Rational Application Developer as the development environment. The syllabus itself lists server setup, configuration and deployment of a first application.
Session 1 reviews servlets, JSPs and custom tags, but developers with no web experience will get more from the fuller treatment in Fast Track to Servlets/JSP Using Rational Application Developer (RAD), because JSF's scopes, tags and lifecycle build directly on them.
For the next step, Fast Track to JavaServer Faces 2 (JSF 2) suits teams whose applications use the later JSF generation. To connect views to a business and persistence tier, Fast Track to EJB 3.0 (JEE 5 level) is a natural companion.
This course lists Java SE 7 and earlier, which is out of support. Organizations on newer Java releases can ask about customized private training tailored to the versions they run. Browse related topics in the Java Programming courses and learning guide.
Illustrative scenarios
The scenarios below are illustrations of how the course material can be applied. They are not descriptions of specific organizations or of the course's lab exercises.
- A data-entry form with strict input rules. A team might build a customer form where required fields, numeric ranges and date formats are enforced. That maps to the standard validators (
required,validateLongRange,validateDoubleRange),convertDateTime/convertNumber, and a custom validator for a business rule. - A list page with selection controls. For example, a page that shows a collection from a managed bean in an
h:dataTablewithf:facetheaders and footers, plus anh:selectManyListboxthat feeds filters. It combines value binding, collection handling and the event model. - A multi-step flow with localized text. A team might define navigation rules between pages, move labels into resource bundles for localization, and use Ajax4jsf for partial updates. A phase listener can trace the request through the lifecycle when a field fails to update.
AI coding assistants and JSF
AI coding assistants can draft a managed bean, a simple converter or validator class, boilerplate h:dataTable markup, or a resource bundle. They are useful for repetitive scaffolding.
They fail in predictable ways for this material:
- Version mixing. JSF code found online spans several generations. An assistant may suggest annotation-based beans or different view technology where this course's syllabus uses faces-config.xml beans, JSP-based views and the JSF 1.2 Unified EL. Check every suggestion against the project's actual JSF and Java versions.
- Lifecycle blindness. Assistants often put logic in a getter or setter that runs several times per request, or expect the model to update after a validation failure. Neither fits the phase order from session 10.
- Configuration gaps. Generated navigation rules and bean scopes can look right but reference the wrong outcome string or a scope that loses state.
To verify, run the page and log each phase with a phase listener. Test invalid input to confirm the model is not updated. Test a postback against an initial request. Review scope choices and any custom validator by hand, since input handling is a security boundary.
Frequently asked questions
What level is this course and who should take it?
It is introductory and runs three days. It suits programmers with some Java and object-oriented experience who need to build or maintain JSF web applications.
Do I need web development experience first?
The stated prerequisite is prior Java and OO experience. Session 1 reviews servlets, scopes, JSPs, custom tags and MVC, so basic web knowledge is helpful but is not assumed beyond that review.
What does the course cover?
The JSF architecture, managed beans and the Expression Language, navigation rules, the core and HTML tag libraries, h:dataTable, validation, conversion, the request lifecycle and phase listeners. It closes with backing beans, CSS, JavaScript, localization and Ajax4jsf.
Can this be delivered privately for our team, onsite or online?
Yes. HSG delivers private training for organizations at the client's location or live online.
Can the content be customized to the versions we use?
Private training can be tailored to the technology versions an organization uses, including current releases. You can request a training proposal to discuss your environment.Training locations
Fast Track to JavaServer Faces (JSF) : Using JSF to Build J2EE Web AppsUsing Rational Application Developer (RAD) training across the U.S. and beyond.
We provide private Fast Track to JavaServer Faces (JSF) : Using JSF to Build J2EE Web AppsUsing Rational Application Developer (RAD) training for organizations, onsite at your location or live online, throughout the United States and internationally.
View all Fast Track to JavaServer Faces (JSF) : Using JSF to Build J2EE Web AppsUsing Rational Application Developer (RAD) training locations
Train your team with HSG
Private, instructor-led training customized for your organization.
- Onsite or live online delivery
- Customized curriculum
- For a single employee or an entire team
- Flexible scheduling
- Experienced instructors
Questions? Call us at 303.377.6176
or email info@hartmannsoftware.com
Ready to train your team?
Let's customize this training for your organization.
Tell us about your employees, your goals, and your preferred schedule. We'll prepare a training proposal covering scope, delivery format, and pricing.