File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes is one jvm present for a web container Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "is one jvm present for a web container" Watch "is one jvm present for a web container" New topic
Author

is one jvm present for a web container

sai prasanna
Ranch Hand

Joined: May 02, 2005
Posts: 167
hi
web container can contain more than one or one web application. to execute a web application we need jvm will the jvm be one for each web application or only one jvm for a container.anybody please explain this

thanks in advance
saiprasanna
Mohan Reddy
Greenhorn

Joined: Feb 10, 2006
Posts: 21
hi

Only one jvm will work for Web Container. Even though there are more than one application in a container, those will be executed with the help of one JVM.


cheers<br /> <br />mohan.<br /> <br /><br />Always do what you are afraid to do...
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39549
    
  27
It's worth noting that there will generally be a separate classloader for each web app. That way the applications can't access each others static data, and it makes it easier to use security managers to separate them further.


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: is one jvm present for a web container
 
Similar Threads
default and non-default servlet context
total servlet instance in distributable enviornment
Web Container
ServletContext Confusion...
JVM vs Web container architecture.