Integrate Primefaces 5.1 with Hibernate 4.3.7 and Spring 4.1.3.