This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "running Application acrosss multiple JVM Watch "running Application acrosss multiple JVM New topic
Author

running Application acrosss multiple JVM's

kapil kumar
Greenhorn

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: http://aspose.com/file-tools
 
subject: running Application acrosss multiple JVM's
 
Similar Threads
client server architecture ,EJB architecture and distributed architecture
ServletContext in a Clustered environment
Extending the database
application server
request handling mechanism in a distributable web application