Wrong. Static variables are per *classloader*, not per JVM.

-Tim

Anshaj Mathur wrote:

Thanks for your reply. I think JVM rules said that there should be 1
reference per JVM for a static variable. Tomcat class loader creates
separate instance of a static variable for each webapps. I am just
trying to understand how class loader works in tomcat.

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



Reply via email to