Also, I think you mean an ear (enterprise) application rather than a war (web application) when discussing what can contain multiple web apps.
Joined: Apr 02, 2008
as far as my understanding, a JEE application can contain only one web.xml in single JVM (application server),but somebody suggest that it can have many WAR files ,so it has many web.xmls in single JVM.
Is it true?. If so, application server read all web.xml in single JVM ?.
Web application can have many servlet contexts in single JVM? [ October 05, 2008: Message edited by: jacob deiter ]
Note that a JVM and app server are not the same thing. An app server runs code in multiple JVMs. The EJBs are run in a different JVM from the web layer. I think each web module gets its own JVM which is what you probably are remembering this from.