This project enables JSF usage inside Spring Boot Application.
It autoconfigures PrimeFaces, PrimeFaces Extensions, Apache MyFaces Tobago, OmniFaces, AdminFaces, BootsFaces, Mojarra and MyFaces libraries to run at embedded Tomcat, Jetty or Undertow servlet containers. It autoconfigures Weld, Apache OpenWebBeans, and Rewrite too.
It also aims to solve JSF and Spring Boot integration features. Current version includes JSF and CDI annotations support and Spring Security JSF Facelet Tag support.
JoinFaces Example shows JSF Spring Boot Starter usage. It may help you to choose the JSF Spring Boot Starter that fits your needs.
Build tool \ packaging | jar |
war |
---|---|---|
Maven | maven-jar-example | maven-war-example |
Gradle | gradle-jar-example | gradle-war-example |
Take a look at Reference Guide to see JoinFaces features: Starters, Servlet-Context Init Parameters, JSF and CDI scope-annotations support and Spring Security JSF Facelet Tag support.
Joinfaces | Java | Spring Boot | JSF / Faces |
---|---|---|---|
2.x |
1.6 to 1.8 |
1.x |
2.0 to 2.2 |
3.0 to 3.2 |
1.8 |
2.0 |
2.0 to 2.3 |
4.0.x |
1.8 to 11 |
2.1 |
2.0 to 2.3 |
4.1.x |
1.8 to 12 |
2.2 |
2.0 to 2.3 |
4.3.x |
1.8 to 14 |
2.3 |
2.0 to 2.3 |
4.4.x |
1.8 to 15 |
2.4 |
2.0 to 2.3 |
4.5.x |
1.8 to 16 |
2.5 |
2.0 to 2.3 |
4.6.x |
1.8 to 16 |
2.6 |
2.0 to 2.3 |
4.7.x |
1.8 to 17 |
2.7 |
2.0 to 2.3 |
5.0.x |
17 to 19 |
3.0 |
3.0 to 4.0 |
5.1.x |
17 to 20 |
3.1 |
3.0 to 4.0 |
5.2.x |
17 to 21 |
3.2 |
3.0 to 4.0 |
5.3.x |
17 to 21 |
3.3 |
3.0 to 4.0 |
5.4.x |
17 to 21 |
3.4 |
3.0 to 4.0 |
This are the combinations we have tested and expect to work, but depending on the features you are using, other combinations might work, too. When using Java 9 or higher, make sure to use JoinFaces only on the classpath and not on the modulepath.
- Take a look at wiki.
- Report questions and bugs at github.com/joinfaces/joinfaces/issues.
- Report documentation, features, enhancement and bugs at github.com/joinfaces/joinfaces/issues.
- Pull requests are welcome.