If you like this project, please consider supporting me ❤️
The main goal was to take an out-of-the-box Faces (formerly JSF) application (PrimeFaces Showcase) and get it running in Quarkus and deployed as a GraalVM Native executable or an UberJar single executable JAR.
See QuarkusFaces Showcase running live in GraalVM on a free cloud hosting using 0.1 VCPU and 512MB RAM. It is an underpowered machine, but it gets the point across.
- Apache MyFaces (Quarkus) instead of Jakarta Mojarra (Wildfly)
- PrimeFaces MOVE_SCRIPTS_TO_BOTTOM
- Quarkus Brotli Compression quarkus.http.enable-compression=true
- OmniFaces CombinedResourceHandler
- PrimeFaces Extensions CombinedResourceHandler Helper
jQuery Hide Page Until Complete
To run the example in Dev mode:
git clone https://github.com/melloware/quarkus-faces
cd quarkus-faces
mvn quarkus:dev
Then open your web browser to http://localhost:8000/
To run the example in HotSpot Production mode Uber-Jar:
git clone https://github.com/melloware/quarkus-faces
cd quarkus-faces
mvn clean package -Dquarkus.package.jar.type=uber-jar
java -jar target/quarkus-faces-runner.jar
Then open your web browser to http://localhost:8000/
Builds a Docker image running as a standard JVM application.
mvn clean package -Ddocker
docker run -i --rm -p 8000:8000 melloware/quarkus-faces:latest
Builds a native Docker image running as a GraalVM (Mandrel) application.
mvn -Pnative-docker
docker run -i --rm -p 8000:8000 melloware/quarkus-faces:${version}
We have a WIKI page where we are keeping track of known issues while developing with Quarkus/MyFaces/PrimeFaces. Please feel free to contribute to that page if you find anything you think others should know!