aspose file tools*
The moose likes Servlets and the fly likes Application deployed at two servers or containers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Application deployed at two servers or containers" Watch "Application deployed at two servers or containers" New topic
Author

Application deployed at two servers or containers

Shivaprakash Shettihalli
Greenhorn

Joined: Nov 20, 2007
Posts: 18
How many ServletContext objects will be created when an Application is deployed at two servers or containers.
Carlos Cunha
Greenhorn

Joined: Dec 13, 2007
Posts: 3
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 ]

SCJP 5.0<br />SCWCD Ed. 5(Preparing)
Shivaprakash Shettihalli
Greenhorn

Joined: Nov 20, 2007
Posts: 18
Please someone help me
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

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.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Application deployed at two servers or containers
 
Similar Threads
'HOME' question
Session tracking
application hang up
Deployment of WebApp and EjbApp on different servers
How to create a exe/jar from a WebApplication project in NetBeans?