From: "Rafael Taboada" <[EMAIL PROTECTED]>

> I need to store some objects in session scope in order to use
> around the application.

If you need to use them across the entire webapp, then application/context
scope might be more appropriate.  But either way, what I do is have a
Listener that is notified when the app (or a session) starts.  I put various
Maps and Lists into the appropriate scope under known keys, and then they're
there to be used whenever I need them.

Take a look at HttpSessionListener or ServletContextListener depending on
what you decide you need.

-- 
Wendy Smoak


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to