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

Integration Test with Maven

A collection of posts found on the internet focusing on how to tweak/enhance Maven to perform integration tests.

  1. Integration testing with maven 2.0 – by Julien Dechmann
  2. Getting Coverage For Integration Tests – by Ulrik Sandberg
  3. Integration tests with Maven (Part 1): Failsafe Plugin – by velo
  4. Unit tests are not integration tests – by John Ferguson Smart
  5. Maven Integration Testing – by Rod Coffin
  6. Maven and Integration Testing – from codehaus



Continue reading “Integration Test with Maven”

Integration Test with Maven

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

Spring MVC – Resolving Locale and Externalizing Locale-Sensitive Text Messages

A sample Spring MVC application to show how to

  • Retrieve the current Locale Resolver
  • Retrieve the current Locale
  • Set a new Locale
  • Display different version of the same message for different locales

Continue reading “Spring MVC – Resolving Locale and Externalizing Locale-Sensitive Text Messages”

Spring MVC – Resolving Locale and Externalizing Locale-Sensitive Text Messages

Developing Spring Web Flow 2 Application

This is a series of posts about developing a Shopping Cart web application using Spring Web Flow 2. It is not intended to be a step by step tutorial of how to develop a Spring Web Flow application but rather to show some of the key features and implementation ideas of a Spring Web Flow application.

Continue reading “Developing Spring Web Flow 2 Application”

Developing Spring Web Flow 2 Application