users@glassfish.java.net

Sun One Java System Application Server 8 - loading classes

From: <glassfish_at_javadesktop.org>
Date: Tue, 22 Apr 2008 09:54:24 PDT

Can I rely on a class in my application being loaded once and only once between app server restarts or application re-deployments? Can I rely on a class never being re-loaded unless all sessions are invalidated?

What I want to do is keep track of the most recent http request by each user so I can tell if a user is currently active. I want to track this in a Hashtable referenced by a static variable, without going to the database.

Thanks.
[Message sent by forum member 'tstup' (tstup)]

http://forums.java.net/jive/thread.jspa?messageID=270601