File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes running Application acrosss multiple JVM's Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "running Application acrosss multiple JVM Watch "running Application acrosss multiple JVM New topic

running Application acrosss multiple JVM's

kapil kumar

Joined: May 22, 2008
Posts: 25
Hi Ranchers,

I read regarding that an application can be run in a distributed environment.
I have only ran my application using a single server.
Can someone please expalin me with simple example how an aplication is deployed,

I am confused whether there will be more than 1 server per JVM and seperate instance of the servlet or simply the same instance is copied

Say my application is distributed across 2 networks

for each there will be separate JVM what does this exactly mean?

Someone please help me out I am not getting this concept..

If you can't be the Sun ..<br /> Be a star ..............
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Its not necessary to have multiple machines, in order to run your application on multiple JVM. But it can be on different machines, as well. You can simply look at this as, an application deployed on multiple tomcat instances, per say and of course each is under its own JVM. You can refer to clustering section of Tomcat documentation. Moreover, its good to have a look at Load Balancing section as well, because clustering is not the only option of load-balancing.
I agree. Here's the link:
subject: running Application acrosss multiple JVM's
It's not a secret anymore!