Deployer 10.5 | Product Build Properties and Supported Assets for Repository-Based Deployment | Application Platform
 
Application Platform
You can deploy the following types of Application Platform assets using Deployer.
*Bundle - An OSGi bundle.
*Service - An OSGi service.
*WebApp - A web application.
*Config - An OSGi dynamic configuration because these assets represent an OSGi-specific item unlike the web application.
*JndiResource - A JNDI resource injection. This asset defines how to inject an OSGi dynamic configuration into the JNDI space of a web application. This asset does not represent the configuration itself.
Application Platform composites can contain the following assets:
*bundle composite: Bundle, WebApp, Service
*war composite: WebApp
*properties composite: Config, JndiResource
The following table lists the assets that you can export, the asset type ID for each asset, and the asset dependencies.
Asset
Asset Type ID
Dependencies, Substitutions, and Other Considerations
OSGi Bundle
Bundle
Each "bundle" composite always contains exactly one Bundle asset. The Bundle asset can depend on zero or more Service assets that are almost always provided by other "bundle" composites.
OSGi Service
Service
Each "bundle" composite can contain zero or more Service assets. The Service asset does not have any dependencies on other assets.
OSGi Dynamic Configuration
Config
Each "properties" composite always contains exactly one Config asset. The Config asset does not have any dependencies on other assets. By default, all properties in the "properties" file represented by the "properties" composite are translated to substitutions for the Config asset.
JNDI resource injection
JndiResource
When a "properties" composite defines a JNDI resource that needs to be injected into a web application, it will contain exactly one JndiResource asset in addition to the main Config asset.
When the JndiResource asset defines an injection of an OSGi Service into the web application, it will have a dependency on the respective Service asset. JndiResource assets that do not define a Service injection can never have dependencies on other assets. When a "properties" composite contains a JndiResource, all properties of the respective properties file except those that describe the JNDI name and target web application context, are translated to substitutions for the Config asset of the "properties" composite.
Web Application
WebApp
The "war" composite always contains exactly one WebApp asset. The "bundle" composite can contain a single WebApp asset if the composite represents a "web bundle" (WAB). The WebApp asset can have dependencies on one or more JndiResource assets - one for every JNDI resource described in the web.xml.