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

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

Developing Spring Web Flow 2 Application part 4 – Spring Security and HTTPS

As part of “Developing Spring Web Flow 2 Application” series, this post shows the following features:

  • Secure a view with Spring Security
  • Switching between HTTP and HTTPS connections

Continue reading “Developing Spring Web Flow 2 Application part 4 – Spring Security and HTTPS”

Developing Spring Web Flow 2 Application part 4 – Spring Security and HTTPS