Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Spring does currently not support session scoped beans/components out of the box. You can decide between singleton or prototype lifecycle, but not having your beans bound to the session lifecycle of web applications. There are plans for integrating such a feature in Spring 1.3 release, but this is not confirmed and there is no schedule.
We will try to point out some possible workarounds for your webwork based applications. First we look at general solutions found among Spring community, dealing with HTTPSession and all that. After that we will discuss the special conditions and requirements found in XWork/WebWork and how that might affect possible solutions. We will show some XWork/WebWork specific solutions for the given problem.

Info

The first milestone of Spring 2.0 (formerly 1.3) will be released the second week of December 2005. It is confirmed that it does contain Session Scope components using the Proxy (CGLIB or JDK) approach.

General Solutions for Webapplications

...