Skip to content

igormukhin/spring-boot-sample-jsf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ATTENTION: I do not recommend this example anymore! Better use JoinFaces

Spring Boot With JSF Sample

  • Shows how to configure JSF 2.2.x with Spring Boot 1.2.x on Servlet API 3.x

Running

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

More things shown

  • 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

About

Spring Boot With JSF (PrimeFaces) Sample

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages