Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Application deployed at two servers or containers

 
Shivaprakash Shettihalli
Greenhorn
Posts: 18
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How many ServletContext objects will be created when an Application is deployed at two servers or containers.
 
Carlos Cunha
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
At first, I was going to answer that you would have 2 different ServletContext because: ONE ServletContext PER Web Application PER Server/Container.

But after reading some sources, seems that the important is not the number of Server/Container(ok its in the mix), the important is the number of JVM used to deploy the application.

So to set my own ideas straight could any of the bartenders answer the folloing question:

Given a single web application deployed within two different Servers (i.e Tomcat and JBoss) using the same JVM how many ServletContext i would have?

Thanks.

PS: Sorry, i didn't want to mess your ideas up.
[ January 02, 2008: Message edited by: Carlos Cunha ]
 
Shivaprakash Shettihalli
Greenhorn
Posts: 18
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please someone help me
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Shivaprakash Shettihalli,

A lot of our more seasoned members scan this this site for unanswered questions and deal with them first. By unanswered, I mean that they look for threads with zero responses. By adding a new post to your own thread that says "please help me", you are actually lowering the likelihood that someone like this will ever see your question. They will see that the question has a response and move on, in search of an unanswered one.

See:
http://faq.javaranch.com/java/PatienceIsAVirtue
for more details.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic