
JSF PrimeFaces Guide to Maintaining JavaServer Faces Apps
Understand the Faces lifecycle, scopes, expression language and PrimeFaces components well enough to maintain and extend an existing application.
Everything you need to level up your coding skills.

Understand the Faces lifecycle, scopes, expression language and PrimeFaces components well enough to maintain and extend an existing application.

Build a first Jakarta Faces 4 page with a Facelets view, a CDI bean and a form, run it on a servlet container and understand what each part does.

Watch the six Faces lifecycle phases run with a PhaseListener, and see why a failed validation skips the action method and why AJAX may run fewer phases.

Faces managed beans were removed in Faces 4.0 and CDI beans replace them. See the annotation mapping, the differences in behavior and a safe migration order.

Pick between request, view, session and application scope for a Faces bean, with an example of what goes wrong when the scope is too short or too long.

Fix the Faces error where an expression cannot reach its target: check the bean name, scope imports, CDI discovery and nulls in the path.

How Faces expressions read and write bean properties, when immediate and deferred evaluation matter, and the operators and implicit objects you will use.

Fix ViewExpiredException in Faces by handling session timeouts with an error page, checking restarts and view limits, and choosing the right state saving.

Understand JSF view state: server side versus client side saving, session memory per view, the number of views setting and how to keep it small.

Learn how JSF navigation works: implicit outcomes, faces-redirect, h:link versus h:commandLink, keeping messages and explicit navigation rules.

Understand JSF conversion and validation: converters, built in validators, Bean Validation, custom validators and messages, and why errors skip the model.

Use JSF AJAX with f:ajax: the execute and render attributes, event triggers, listeners, ids inside naming containers and common reasons nothing updates.
We send one email when a new post is published. No spam.