• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

deploying application on multiple JVM

 
sanjey asok
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic