Try using a public class with static fields and methods.  This is best
for things that can be recreated programmatically, like a hardcoded
list of months.  Just remember that changes you make will disappear
when you restart your app container, unless you migrate the data to a
more persistant storage, like a DB or file.

On 7/11/07, Michael Bernagou <[EMAIL PROTECTED]> wrote:
Hi,

I search into the mailing list and didn't find how to declare an object such
as an ArrayList at the context level.
ASO is for session and @Persist for requests, but what about the
Application/Context level?

My site needs to maintains a list of users with their status without having
to reload it from the database at each new session created.

Thanks

M.


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

Reply via email to