aspose file tools*
The moose likes Distributed Java and the fly likes deploying application on multiple JVM Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "deploying application on multiple JVM" Watch "deploying application on multiple JVM" New topic
Author

deploying application on multiple JVM

sanjey asok
Ranch Hand

Joined: Jul 11, 2009
Posts: 39
How to deploy an application,i.e WAR/EAR on multiple JVMs?; I have recently heard about deploying an application on multiple JVMs. Can you give some basic information about it?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42934
    
  68
What kind of application, specifically? The details will be different for EARs, WARs or standalone JARs. For example, for WARs it would mean having multiple servlet containers, each with their associated "webapps" directory (as it's called in Tomcat) - so you can deploy the WAR in each Tomcat. Of course, you need to make sure you can access those various servlet containers - maybe they're set up on different ports if running on the same machine, or maybe they run on different machines (so they'd have different IP addresses).
sanjey asok
Ranch Hand

Joined: Jul 11, 2009
Posts: 39
Ulf Dittmer wrote:What kind of application, specifically? The details will be different for EARs, WARs or standalone JARs. For example, for WARs it would mean having multiple servlet containers, each with their associated "webapps" directory (as it's called in Tomcat) - so you can deploy the WAR in each Tomcat. Of course, you need to make sure you can access those various servlet containers - maybe they're set up on different ports if running on the same machine, or maybe they run on different machines (so they'd have different IP addresses).


It's three separate application namely EAR, WAR, Standalone
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42934
    
  68
For the EAR you'll need a JEE server like JBoss or GlassFish. For the WAR a servlet container will suffice, but any JEE server will also be able to run it. The JAR you'll likely want to set up separately.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: deploying application on multiple JVM