• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Application deployed at two servers or containers

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How many ServletContext objects will be created when an Application is deployed at two servers or containers.
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please someone help me
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
I'm all tasted up for a BLT! This tiny ad wants a monte cristo!
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic