NonStop Servlets for JavaServer Pages (NSJSP) 6.0 System Administrator's Guide

NSJSP Container Objects
NonStop Servlets for JavaServer Pages (NSJSP) 6.0 System Administrator’s Guide544548-004
C-3
Context and Default Context Objects
Context and Default Context Objects
The Context object represents an individual web application. The Default Context
object represents a subset of the configurable properties of a Context and is used to
set defaults for those properties when web applications are automatically deployed.
For more information on Context object, refer http://tomcat.apache.org/tomcat-6.0-
doc/config/context.html.
Loader Object
A Loader object represents a web application class loader that provides the class
loading services for a particular Context object. For more information on Loader object,
refer http://tomcat.apache.org/tomcat-6.0-doc/config/loader.html.
Manager Object
A Manager object represents a session manager that is associated with a particular
web application. Two manager object types exist: NSJSPStandardManager and
NSJSPPersistentManager. For more information on Manager object, refer
http://tomcat.apache.org/tomcat-6.0-doc/config/manager.html.
Resources
Resources can be defined either globally or per web application. The globally defined
resources can be accessed using web applications by specifying links to the global
resource in the web application itself.
There are different types of resources. They are:
DataSources (of type javax.sql.DataSource)
Mail Sessions (of type javax.mail.Session)
Environment Entires (of various Java lang types such as java.lang.Integer
and java.lang.String)
For information on how to define the resources globally, refer
http://tomcat.apache.org/tomcat-6.0-doc/config/globalresources.html.
For information on how to define resources per web application, refer
http://tomcat.apache.org/tomcat-6.0-doc/jndi-resources-howto.html.
For information on how to create resource links, refer http://tomcat.apache.org/tomcat-
6.0-doc/config/context.html#Resource%20Links.