Tuesday, November 29, 2011

Consider a scenario where 2 instances of an appserver are running in a machine. And one application has been deployed in the two servers. Does these two applications deployed in two servers use the same JVM or different?

The straight forward answer is no. If they are on two different servers (i.e. machines) then the answer is obviously no. If the two app servers are running on the same machine, they each fire up their own environment to handle requests which will be routed to them via a webserver.
Category:Servlet Interview Questions

No comments:

Post a Comment