Instructor-led training
Fast Track to JavaServer Faces 2 (JSF 2) : Using JSF 2 to Build JEE Web Apps Training in Philadelphia, Pennsylvania
This course will get you up to speed with JSF 2 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 Philadelphia, Pennsylvania 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 JavaServer Faces hard to master
The Java is rarely the obstacle. JSF is a component framework that runs a fixed request lifecycle on your behalf, so bugs tend to show up as values that never reach a bean or as validation messages that appear unexpectedly. The syllabus builds up the pieces in this order.
- Web foundations first. It begins with Java EE web applications, servlets and servlet scopes, JSPs and their lifecycle, custom tags and Model View Controller. Developers who skip this layer struggle to see what JSF adds.
- Beans and expressions. Managed beans, their lifecycle,
<managed-bean>entries in faces-config.xml, and the JSF Expression Language (value binding, method binding, implicit objects) connect pages to code. Navigation rules (<navigation-rule>,<navigation-case>) are configured separately and are a common source of "the wrong page appeared" problems. - Components. The core and HTML tag libraries,
h:dataTablewith columns and facets, theh:selectXxxtags, and the event model (action, value change, data model listeners). - Validation and conversion. Standard and custom validators and converters, including
convertDateTimeandconvertNumber. - The lifecycle last. Restore View through Render Response, initial requests versus postbacks,
renderResponse(),renderComplete()and phase listeners. This is where the earlier topics fit together, and it explains why a failed conversion or validation stops the model from being updated.
A common misconception is that a JSF page is just JSP with different tags. The component tree and the lifecycle phases are what determine behavior. The course description also covers Facelets and the JSF 2 annotations as new in JSF 2.
Who it suits and what to take around it
This is an introductory, three-day course for Java developers who are new to JSF. Java, HTML and XML experience is recommended. The XML matters because much of the configuration (faces-config.xml, navigation rules, managed bean declarations) is written in it.
The syllabus opens with a Java EE web refresher, so you do not need deep servlet experience. If your team is entirely new to server-side Java web work, the Fast Track to Servlets/JSP course covers the request/response and scope concepts that JSF sits on, and it gives you more time on them than this course can.
After this course, the natural step is persistence and business logic behind your beans. Building Modern Java Enterprise Apps: JPA, EJB3, & JSF puts JSF in the context of a full enterprise stack. For the wider catalog, see the Java Programming courses and learning guide.
Organizations on a specific Java or JSF version can ask about private training tailored to it through a training proposal.
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.
- An internal data-entry application. A team might build a form-driven screen backed by managed beans. Required fields,
validateLongRangechecks and a custom validator enforce business rules, while date and number converters handle formatting. Navigation rules route the user to a confirmation page. - A listing screen. A team might show a List of records in an
h:dataTablewith header and footer facets.h:commandLinkandh:outputLinkwould provide row-level actions and navigation. - Maintaining an existing JSF application. A developer inheriting a JSF application with faces-config.xml bean declarations might use phase listeners and the lifecycle phases to trace why a value is not updating. Resource bundles could be added to localize the UI.
AI coding assistants and JSF
AI coding assistants can draft a managed bean, a facelet page with a form, or a first-pass custom validator or converter, and they can explain an EL expression. They are weakest where JSF depends on context they cannot see.
- Mixed versions and styles. JSF material spans several generations, and suggestions often blend XML-declared beans with annotation-based ones, or tags and namespaces from different versions. Check the output against the JSF and Java versions your project actually runs.
- Lifecycle bugs. Assistants often put logic in the wrong phase, such as expecting model values to be set before validation passes. Confirm behavior with a phase listener or by logging each phase.
- Navigation and scope. Generated navigation outcomes may not match your
<navigation-case>entries, and bean scope choices can cause state to leak between users or disappear between requests. - Security. Review generated converters, validators and any JavaScript or Ajax integration for injection and unsafe output handling.
To verify, run the page, submit invalid and valid input, and confirm which phase handled each case. Then compare the result with what the generated code claimed.
Frequently asked questions
What level is this course?
It is introductory and runs three days. It suits Java developers who are new to JSF and want a fast, broad start.
What should I know beforehand?
Java, HTML and XML programming experience is recommended. The syllabus begins with a review of Java EE web applications, servlets, JSPs and MVC, so deep servlet experience is not assumed.
What does the course cover?
It covers the JSF architecture, managed beans, the Expression Language, navigation rules, the core and HTML tag libraries, data tables, the event model, validators, converters and the request lifecycle with phase listeners. Additional topics include backing beans, CSS, JavaScript, localization with resource bundles, and Ajax4jsf.
Can the course be delivered privately, onsite or online?
Yes. HSG provides private training for organizations, delivered at the client's location or live online.
Can the content be customized?
Private training can be customized, including tailoring to the technology versions your organization uses. You can describe your needs through a training proposal request.
Training locations
Fast Track to JavaServer Faces 2 (JSF 2) : Using JSF 2 to Build JEE Web Apps training across the U.S. and beyond.
We provide private Fast Track to JavaServer Faces 2 (JSF 2) : Using JSF 2 to Build JEE Web Apps training for organizations, onsite at your location or live online, throughout the United States and internationally.
View all Fast Track to JavaServer Faces 2 (JSF 2) : Using JSF 2 to Build JEE Web Apps 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.