Using OpenSessionInViewFilter in Spring Web Application

A way too simple Spring 2.5 web application to show how to use OpenSessionInViewFilter together with Hibernate.

Continue reading “Using OpenSessionInViewFilter in Spring Web Application”

Advertisements
Using OpenSessionInViewFilter in Spring Web Application

Developing Spring MVC application – Annotation based Controller and JPA

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



Continue reading “Developing Spring MVC application – Annotation based Controller and JPA”

Developing Spring MVC application – Annotation based Controller and JPA