+

Search Tips   |   Advanced Search

Composition units


A composition unit represents a configured asset in a business-level application. A composition unit enables the asset contents to interact with other assets in the application. It also enables WAS run time to load and run asset contents.

WAS ND v7.0 supports three types of composition units:

Asset composition units

Composition units created from assets by configuring each deployable unit of the asset to run on deployment targets.

Shared library composition units

Composition units created from JAR-based assets by ignoring all the deployable objects from the asset and treating the asset JAR file as a library of classes.

Business-level application composition units

Composition units created from business-level applications that are added to existing business-level applications.

A composition unit contains the following information:

For example, a composition unit for an EJB JAR asset is an EJB module instance that contains necessary EJB binding information, such as EJB JNDI names and ejb-ref resolutions, along with a list of application servers or clusters where the EJB JAR runs.

WAS ND v7.0 creates a composition unit from only one asset. However, multiple composition units can share a single asset. This is particularly useful in scenarios where different configurations use the same application binary files to provide different runtime behavior.

The following rules apply to a composition unit:

The following graphic shows the use of composition units in business-level applications. Assume that we have unprocessed files, such as archives, that you want to use in business-level applications. Before we can add the files to business-level applications, first import the files as assets, which adds the files to WAS repository. Next, you add the assets to business-level applications, which creates composition units for the assets. Business-level applications can contain asset composition units, shared library composition units, or business-level composition units.





 

Related tasks


Create business-level applications
Updating business-level applications

 

Related information


Assets
Business-level applications