Spring Boot with Primefaces demo
Switch branches/tags
Nothing to show
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.settings Added Ocpsoft URL Rewrite to project Sep 4, 2015
src/main Added Ocpsoft URL Rewrite to project Sep 4, 2015
.classpath Added Ocpsoft URL Rewrite to project Sep 4, 2015
.gitignore Clean-up Mar 25, 2015
.project Json populator added Mar 25, 2015
README.md Added Ocpsoft URL Rewrite to project Sep 4, 2015
books.json Clean-up Mar 25, 2015
pom.xml Added Ocpsoft URL Rewrite to project Sep 4, 2015

README.md

boot-faces

Spring Boot, JSF Primefaces demo

Purpose

The purpose of this tutorial was to show how to combine Spring Boot with JSF and Primefaces in order to create a simple micro-service with an attractive front-end.

There are other tutorials on the web that people have done but I wanted to demonstrate the official Spring way, particularly I wanted to show how easy and aesthetic it can be.

Key Technologies

This demo covers:

  • Spring Boot Autoconfiguration
  • Spring Data JPA
  • Spring Rest
  • Embedded Tomcat
  • Spring Actuator
  • JSF and Primefaces
  • Spring/JSF interop (SpringBeanFacesELResolver)
  • Jackson Repository Populators

You can find more information about this demo on my website at: Spring Boot with JSF/Primefaces


Update

Added OcpSoft Rewrite to the project, this rewrites the JSF URL schema to look clean and modern without file extensions. Note that Omnifaces doesn't work with Spring Boot.