This sample application demonstrates Jakarta Faces using the latest Jakarta EE stack for traditional web development.
The codebase has been upgraded to Jakarta EE 11.
- Jakarta EE 10 with GlassFish v7.1 and Java 21: see the archive release.
- Jakarta EE 10: see the archive release.
- Jakarta EE 8: see the archive release.
- Legacy Java EE 8 sources: browse the javaee8-jsf-sample repository.
Building a Jakarta Server Faces application
- Java 21
- Apache Maven 3.x or 4.x (latest)
-
Clone the repository:
git clone https://github.com/hantsy/jakartaee-faces-sample
-
Start the app on GlassFish:
mvn clean package cargo:run -pglassfish
-
Execute the tests using the GlassFish managed adapter:
mvn clean verify -Parg-glassfish-managed
Warning
To lower maintenance overhead, support for WildFly, OpenLiberty, Payara, etc. has been removed. If you require those servers, consult the jakartaee9‑starter‑boilerplate or jakartaee10‑starter‑boilerplate projects and add the necessary configuration yourself.
