Show TOC

Deployment Descriptor (portalapp.xml)Locate this document in the navigation structure

Use

The deployment descriptor of a portal application is an XML file that defines the components and services contained in the application, including the initial configuration and the parameters that can be modified by administrators and users. The descriptor also contains configuration information for the entire application.

Note

Even if you provide a Java class file for a component (or service), the component does not exist unless it is defined in the deployment descriptor.

The <application> element is the root element and is mandatory.

The following are the elements that you can define inside the <application> element:

  • <Application-Config> : Defines configuration for the entire application, such as the application's security zone and whether the application should be loaded as soon as it is deployed.

  • <Components> : Defines the components that are part of the application. This element specifies each component's implementation class and safety level, as well as configurable parameters.

  • <Services> : Defines the services that are part of the application. This element specifies each service's implementation class and safety level, as well as configurable parameters.

  • <Registry> : Defines entries in the portal registry.

The following illustrates the structure of the deployment descriptor:

Configuration for the application, each component and each service is specified by <property> elements located within the appropriate element. For example, a component can be configured by adding <property> elements to the <component> elements for the component you want to configure.

Each <property> elements contains name and value attributes.