ATTENTION: I do not recommend this example anymore! Better use JoinFaces
- Shows how to configure JSF 2.2.x with Spring Boot 1.2.x on Servlet API 3.x
This setup can run in all possible ways:
- Either deploy on Tomcat inside Eclipse
- Or execute
SpringBootFacesApplication
as Java application - Or run
mvn spring-boot:run
- Or run
mvn package
and then:- either deploy
target\projectname.war
- or run
java -jar target\projectname.war
- either deploy
- How to configure Faces View Scope with Spring
- How to include PrimeFaces
- How to include a custom theme for PrimeFaces (in this case primefaces-bootstrap-theme)
- How to include Twitter Bootstrap CSS for responsive layout
- Spring Boot Actuator is added under /sysinfo path (try for example /sysinfo/metrics)
- How to write simple http tests