bea.com | products | dev2dev | support | askBEA

Download Docs | Site Map | Glossary
Search

Administration Console Online Help

WebModule

The application.xml deployment descriptor contains one module element for each module in the Enterprise Archive file. Each module element contains an ejb, java, connector, or web element that indicates the module type and location of the module within the application. An optional alt-dd element specifies an optional URI to the post-assembly version of the deployment descriptor.

Defines a Web application module in the application.xml file. The web element contains a web-uri element and a context-root element. If you do not declare a value for the context-root, then the basename of the web-uri element is used as the context path of the Web application. (Note that the context path must be unique in a given Web server. More than one Web application may be using the same Web server, so you must avoid having context path clashes across multiple applications.)

WebModule defines the location of a Web module in the application.xml file. This is the name of the WAR file.

  context-root

Specifies a context root for the Web application.

Example:

<web>
<web-uri>petStore.war</web-uri>
<context-root>estore</context-root>
</web>

- For more information, see "Application Deployment Descriptor Elements" in Developing WebLogic Server Applications.