SRV.4.1 Scope of a ServletContextThere is one instance of the ServletContext interface associated with each web application deployed into a container. In cases where the container is distributed over many virtual machines, there is one instance per web application per VM. Servlets that exist in a container that were not deployed as part of a web application are implicitly part of a "default" web application and are contained by a default ServletContext . In a distributed container, the default ServletContext is non-distributable and must exist on only one VM. |