Scope of a ServletContext Interface
There is one instance object of the ServletContext interface associated with each Web application deployed into a container. In cases where the container is distributed over many virtual machines, a Web application will have an instance of the ServletContext for each JVM.
Servlets in a container that were not deployed as part of aWeb application are implicitly part of a “default” Web application and have a default ServletContext. In a distributed container, the default ServletContext is non-distributable and must only exist in one JVM.
Servlets in a container that were not deployed as part of aWeb application are implicitly part of a “default” Web application and have a default ServletContext. In a distributed container, the default ServletContext is non-distributable and must only exist in one JVM.
No comments:
Post a Comment