Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 6 Working with ActiveMatrix SOA Projects : Configuring Composites

Configuring Composites
In the ActiveMatrix platform, a composite exports a cohesive set of business functions as services. A composite consists of one or more components. A component contains a configured implementation, where the implementation provides the business functions.
The component configures the implementation using specific values for custom properties and by connecting component references to component services or composite references. The connections between references and services are represented by wires.
To configure a composite, complete the following tasks:
1.
2.
3.
4.
For more information, refer to the TIBCO ActiveMatrix Service Grid documentation.
Launching the Composite Editor
The Composite Editor is a graphical editor for developing composites.
To launch the Composite Editor, follow these steps:
1.
Expand SOAProject > Composites in the Project Explorer panel. For example, if the name of the ActiveMarix SOA project you created is TIB_PS_SOA, expand TIB_PS_SOA > Composites in the Project Explorer panel.
2.
Double-click the SOAProject.composite file under the Composites folder to launch the Composite Editor on the right, as shown in Figure 62.
Figure 62 The Composite Editor
Creating a PeopleSoft Adapter Component
A component contains a configured implementation, where the implementation provides the business functions.
To create a PeopleSoft Adapter Component for an ActiveMatrix SOA project composite, follow these steps in the Composite Editor, as shown in Figure 62:
1.
Drag the PeopleSoftAdapter componet from the Palette to the Components column and enter a name for the component (for example, PeopleSoft_Component).
2.
Figure 63 Component Properties Tab
Click the General tab to configure the component. The configuration parameters are listed in Table 18.
(Read-only) The adapter type.
(Read-only) This file contains information used by the container to communicate with the adapter service engine. Gets populated after adding services to the component.
Click the Services tab, and then Click the Add button to open the Resource Picker dialog, as shown in Figure 64. Expand the tree in the left pane and select an adapter endpoint (for example, COUNTRYEndpoint), and then click the Add button to add it into the Selected Adapter Endpoint pane on the right.
Figure 64 Resource Picker Dialog
3.
Click the OK button. The added service appears under the Services tab, as shown in Figure 65.
Figure 65 Add a Service to the Component
4.
Click the Save button to save your configuration.
Adding a Shared Resource to a Composite
In the Creating a TIBCO Shared Resource section, you have created the HTTP Server Shared Resource or JMS Shared Resource for your composite service. Now you need to add the shared resources to the composite.
To add the HTTP Server Shared Resource or JMS Shared Resource to the composite, follow these steps:
1.
2.
Click the Shared Resource Profiles tab to add the shared resource.
Click the Add button to add a shared resource.
To change the name of the shared resouce, click on its name in the Name column.
Select HTTP or JMS in the Type colume according to the type of the shared resouce you created.
Click the Browse button in the Target column to select a shared resource in the Select Shared Resource dialog.
Select an added shared resource and click the Delete button to delete it from the list.
3.
Click the Save button to save your configuration.
Creating a Composite Service
A composite serive represents a port type and it enables consumers outside the ActiveMatrix environment to access port types implemented within ActiveMatrix.
To create a composite service in the Composite Editor, follow these steps:
1.
Drag a service from the Palette to the Services column and enter a name for the service (for example, PeopleSoft_SOAP or PeopleSoft_JMS).
2.
Figure 66 Service Properties Tab
 
Click the General tab to configure the service. The configuration parameters are listed in Table 19.
(Read-only) The composite service type .
Click the Target tab and click the radio button next to the target component service. A wire is drawn between the service and the component service, as shown in Figure 67.
Figure 67 Component and Composite Service Binding
For JMS service, specify the shared resource profile in the Endpoint pane, as shown in Figure 68.
Figure 68 Endpoint Configuration for the JMS service
For SOAP service, specify the transport type and shared resource profile in the Transport Configuration pane, as shown in Figure 69. Click the Generate WSDL button to generate another WSDL file in the Composites folder of the ActiveMatrix SOA project. This WSDL file will later be used by an external client to access the service within ActiveMatrix.
Figure 69 Transport Configuration for the SOAP service
3.
Click the Save button to save your configuration.

Copyright © TIBCO Software Inc. All Rights Reserved