+

Search Tips   |   Advanced Search

Set Java EE composition unit relationships for SCA composites

Use this page to associate Service Component Architecture (SCA) components in an SCA composite with Java EE applications, otherwise known as enterprise applications or EAR files.

An SCA composite definition can define Java EE applications as component implementations. We can define an EAR asset on an archive attribute of the implementation.jee tag for the component and use the application deployed from the asset as its implementation. On this page, associate SCA components in a business-level application with the EAR files named in the composite definition.

This console page displays in the business-level application creation and update wizards. To view the Set Java EE composition unit relationship page, the asset that we add to a business-level application must contain an SCA composite. To view this page...

  1. Import an asset containing an SCA composite.

  2. Create a business-level application to which to add the asset.

  3. Click Applications > Application Types > Business-level applications > application_name > Add > Add Asset.

  4. On the Add composition unit page, select the SCA composite asset and click Continue.

  5. On the Set options page, change the settings as needed and click Next.

  6. On the Map composition unit to a target page, specify target servers as needed and click Next.

  7. On the Define relationship with existing composition units page, change the settings as needed and click Next.

  8. Continue changing settings as needed and click Next on any other pages until the Set Java EE composition unit relationship page is displayed in the wizard.


Component Name

Name of an SCA component in the SCA composite that you are deploying.


EAR Asset Name

Name of the enterprise application, or EAR file, that the SCA component uses.

An EAR asset is an EAR file that has been imported as an asset. The EAR asset name must match the archive attribute on the implementation.jee tag in the SCA composite definition.


Associated Java EE Composition Unit

Composition unit name of the EAR asset. Select the Java EE composition unit that the SCA component uses. To associate an SCA component with an EAR file, the EAR file must be a composition unit of the SCA business-level application.

If the Java EE composition unit to associate with an SCA component is not in the drop-down list, import the EAR file that is named by the archive attribute on the implementation.jee tag of the SCA composite definition as an asset. Then, add the EAR asset as a composition unit of this business-level application.

We can use the Import an asset and Add an asset links on this page to add EAR files as assets and make them composition units of the SCA business-level application.


Related tasks

  • Import assets
  • Create SCA business-level applications with the console

  • Composition unit settings