Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Integrate Spring and Hibernate in Play framework 2.1?

I have to build an web application that integrate Spring and Hibernate in Play Framework 2.1. I integrated Hibernate successfully, but how can I do it with Spring?

like image 928
Jack Holmes Avatar asked Apr 04 '13 10:04

Jack Holmes


1 Answers

It's very easy now in Play 2.1 with the getControllerInstance interceptor. Here is a sample application which has Play 2.1, Spring (with Java Config), and JPA: https://github.com/jamesward/play2bars/tree/java-spring

like image 111
James Ward Avatar answered Oct 22 '22 01:10

James Ward