SRV.4.1 Scope of a ServletContext


SRV.4.1 Scope of a ServletContext

There 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.



Java 2 Platform, Enterprise Edition. Platform and Component Specifications
Java 2 Platform, Enterprise Edition: Platform and Component Specifications
ISBN: 0201704560
EAN: 2147483647
Year: 2000
Pages: 399

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net