File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

is one jvm present for a web container

 
sai prasanna
Ranch Hand
Posts: 167
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 21
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic