A way too simple Spring 2.5 web application to show how to use OpenSessionInViewFilter together with Hibernate.
This application is based on the sample Spring MVC application described in the “Developing a Spring Framework MVC application step-by-step” document in the Spring Framework 2.5 download. The differences are
- Annotation based Controller class
- JPA based persistence using Hibernate
- Maven based project configuration
- Test classes are upgraded to use JUnit 4 annotation