Brian Kidney wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


If I have a class in my application which is a singleton, is there only one object per server (Tomcat in my case), or is it unique to the session (ie. each user gets a different instance)?

If your singleton class keeps its object in a static field, then there is only one instance per classloader. If you are not messing around with classloaders, then that means it should be one instance per JVM / server.




Erik


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



Reply via email to