JSF Cheat Sheet

This content was generated with the assistance of AI and should be verified against the official documentation before being relied on in production.

The reference material consulted while preparing these pages is listed in the section bibliography.

A single-page, colour-coded summary of the Jakarta Faces essentials, written against Jakarta Faces 4.1 (API 4.1.2, Jakarta EE 11, Java 17 or later, examples on Java 21) with Eclipse Mojarra 4.1.17 and Apache MyFaces Core 4.1.4, plus PrimeFaces 16.0.0, OmniFaces 5.5.5, Tomcat 11 with Weld 6.0.4, JoinFaces 6.1.1 and myfaces-quarkus 4.1.4 (versions verified 2026-10-08) — the six lifecycle phases and immediate, the Maven WAR, web.xml, faces-config.xml and the project stages, the Facelets namespaces, ui:* templating and the Expression Language, the h: and f: tags with conversion, validation and messages, navigation, view parameters and Post/Redirect/Get, CDI scopes and Faces Flows, f:ajax, search expressions and f:websocket, composite and custom components, state saving, exceptions and security, PrimeFaces, OmniFaces, the runtimes and testing, and a strip of what changed since older tutorials — handy for quick memorization or as a downloadable PDF desk reference.

For the full explanation, every option, and additional examples, see the dedicated pages:

Start here — JSF (JavaServer Faces).