My bad - I misread and saw "session" rather than "servlet" context.

Jim

On Mar 2, 2006, at 9:55 PM, Jeremy Boynes wrote:

Jim Marino wrote:

Are we going to run into problems with Serializable if we put things in
the servlet context?



I would not expect so as that is the context for the application rather
than a session. Certainly no more so than if we put it in JNDI ;-)

We may have an issue if a container persists ServletContext state across
redeploys rather than restarting the app but I would hope such a
container would throw an IAE on init as it is required to do for session
attributes so we would find out pretty quickly.

If anyone knows of a container that behaves like this would be a good
time to speak up.

--
Jeremy


Reply via email to