Incorporating JBI Components into Java CAPS

Incorporating a JBI-Enabled EAR File As a JBI Module

Before you begin: If you do not already have a Composite Application project containing a BPEL module, create one. For example: 1. File New Project; category “SOA” and project type “BPEL Module”; name it prjBpel1. 2. File New Project; category “SOA” and project type “Composite Application”; name it prjCompApp1. 3. Right-click prjCompApp1 and choose Add JBI Module; then, in the Select Project dialog box, select prjBpel1, click its JAR file, and click Add project JAR Files, adding it under the JBI Modules folder.

To Incorporate a JBI-Enabled EAR File As a JBI Module

  1. Right-click the Composite Application project.

  2. In the Add CAPS Module wizard, step “Create CAPS Ear Link”, do the following:

    1. Supply the name of the CAPS repository.

    2. Browse to and select the deployment project.

    3. Choose an option specifying when the EAR is to be imported:

      • To import immediately, choose On add (now).

      • To import later, when the Composite Application project is first cleaned, choose On clean.

      • To postpone importation until the Composite Application project is first built, choose On build.

    4. Select an application server from the list.

  3. When you have supplied all values for the wizard, click Finish.