weblogic-application.xml
file. The weblogic-application.xml file is the BEA WebLogic Server-specific deployment descriptor extension for the application.xml deployment descriptor from Sun Microsystems. This is where you configure features such as application-scoped JDBC pools and EJB caching.
The file is located in the META-INF
subdirectory of the application archive. It must begin with the following DOCTYPE declaration:
<!DOCTYPE weblogic-application PUBLIC "-//BEA Systems, Inc.//DTD WebLogic Application 8.1.0//EN"
"http://www.bea.com/servers/wls810/dtd/weblogic-application_2_0.dtd">
The following sections describe each element that can appear in the file.
weblogic-application
The weblogic-application
element is the root element of the application deployment descriptor.
The following table describes the elements you can define within a weblogic-application
element.
Contains information that is specific to the EJB modules that are part of a WebLogic application. Currently, one can use the For more information on the elements you can define within the |
||
Contains information about parsers and entity mappings for XML processing that is specific to this application. For more information on the elements you can define within the |
||
Zero or more. Specifies an application-scoped JDBC connection pool. For more information on the elements you can define within the |
||
Specifies security information for the application. For more information on the elements you can define within the |
||
Zero or more. Used to specify un-typed parameters that affect the behavior of container instances related to the application. The parameters listed here are currently supported. Also, these parameters in weblogic-application.xml can determine the default encoding to be used for requests and for responses.
The following parameter is used to affect the behavior of Web applications that are contained in this application.
<param-value>UTF8</param-value> For more information on the elements you can define within the application-param element, refer to application-param. |
||
A classloader-structure element allows you to define the organization of classloaders for this application. The declaration represents a tree structure that represents the classloader hierarchy and associates specific modules with particular nodes. A module's classes are loaded by the classloader that its associated with this element.
For more information on the elements you can define within the classloader-structure element, refer to classloader-structure. |
||
Zero or more. Used to register user defined application lifecycle listeners. These are classes that extend the abstract base class weblogic.application.ApplicationLifecycleListener. For more information on the elements you can define within the listener element, refer to listener. |
||
Zero or more. Used to register user-defined startup classes. For more information on the elements you can define within the startup element, refer to startup. |
||
Zero or more. Used to register user defined shutdown classes. For more information on the elements you can define within the shutdown element, refer to shutdown. |
ejb
The following table describes the elements you can define within an ejb
element.