Rational Developer for System z, Version 7.6

Create references and promote a service

Create references for the UpdateAmount component and connect to the services provided by the AddAmount and InquireAmount components.
You can create a new reference using either the Action Bar or the Palette. The Action Bar appears when you hover over a component in the composite editor. The Palette is always available to the right of the composite editor. These steps use both methods to create references. At any time during these steps
  1. Using the composite editor, create a new reference for the UpdateAmount component:
    1. Place your pointer over the UpdateAmount component to display the Action Bar.
    2. Select the Add ComponentReference icon.
    The composite editor adds a reference icon to the component.
  2. Select the reference icon to rename the reference:
    1. Go to the Properties view. If this view is not currently displayed, right-click in the composite diagram editor and select Show Properties View.
    2. In the Core tab, edit the Name field to rename the reference to AddAmountService.
  3. Connect the UpdateAmount component to the AddAmount component:
    1. Click the reference icon on the UpdateAmount component and wait for the wire to display.
    2. Click the wire and drag it to the service icon of the AddAmount component.
  4. Create another reference for the UpdateAmount component:
    1. In the Palette, click the Reference icon.
    2. Click on the UpdateAmount component to add the reference to the composite diagram.
  5. Select the Reference icon to rename it:
    1. Go to the Properties View. If this view is not currently displayed, right-click in the composite diagram editor and select Show Properties View.
    2. In the Core tab, edit the Name field to rename the reference to InquireAmountService.
  6. Wire this second reference to the service provided by the InquireAmount component.
  7. Promote the service on the UpdateAmountService component to that is available on the composite:
    1. Click the Service icon on the UpdateAmount component to select it.
    2. Right-click and select the Promote menu option.
You have assembled an SCA composite application. The FileaAmountServiceComposite now looks as follows:
InquireAmount, AddAmount, and UpdateAmount are now connected to each other.
After assembling a composite application, deploy the composite to CICS and test that it is working as expected.

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)