How do the multiple JVMs work?

Hi,

I am trying to understand the behavior of having multiple JVMs specifically the classloading. Are the application classes loaded only on one of the JVMs? Or they are loaded to all of the JVMs. If they are loaded only on one of the JVMs, then can I specify which class load to which JVM?

Also if I want to write small proof-of-concept to observe the behavior of multiple JVMs, and print the class name that a particular class is loaded, is there a API call to tell me the number of the JVMs that the classes is loaded from?

Thanks in advance,

Mustafa

[584 byte] By [ACaycia] at [2007-11-27 4:17:46]
# 1

Hi,

I would like to clarify my previous post. I am looking multiple JVMs from an application server perspective. For example, if I configure application server to start up multiple JVMs and deploy my J2EE application to the application server, how do the multiple JVMs play into the equation?

Thanks,

Mustafa

ACaycia at 2007-7-12 9:24:25 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 2
That depends on the application server.
jschella at 2007-7-12 9:24:26 > top of Java-index,Java HotSpot Virtual Machine,Specifications...