joinfaces icon indicating copy to clipboard operation
joinfaces copied to clipboard

JoinFaces: JSF Spring Boot Starters - JSF inside Spring Boot Application

JoinFaces

Maven Central Build Status codecov GitHub license

This project enables JSF usage inside Spring Boot Application.

It autoconfigures PrimeFaces, PrimeFaces Extensions, AdminFaces, BootsFaces, ButterFaces, IceFaces, RichFaces, RichFaces-AYG, OmniFaces, AngularFaces, Mojarra and MyFaces libraries to run at embedded Tomcat, Jetty or Undertow servlet containers. It autoconfigures Weld 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.

How to use

JoinFaces Example shows JSF Spring Boot Starter usage. It may help you to choose the JSF Spring Boot Starter that fits your needs.

Official example projects

Build tool \ packaging jar war
Maven maven-jar-example maven-war-example
Gradle gradle-jar-example gradle-war-example

Key Features

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.

System Requirements

Joinfaces Java Spring Boot JSF
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 3.0 3.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.

Getting Help

Contributing