Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 5 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 ActiveMatrix SOA project you created is TIB_SBL_Adapter_SOA, expand TIB_SBL_Adapter_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.
Figure 41 The Composite Editor
Creating a Siebel Adapter Component
A component contains a configured implementation, where the implementation provides the business functions.
To create a Siebel Adapter Component for an ActiveMatrix SOA project composite, follow these steps in the Composite Editor:
1.
Drag the SiebelAdapter component from the Palette to the Components column and enter a name for the component (for example, ADSBL_Component).
2.
Figure 42 Component Properties Tab
Click the General tab to configure the component. The configuration parameters are listed in Table 12.
(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. Expand the tree in the left pane and select an adapter endpoint, and then click the Add button to add it into the Selected Adapter Endpoint pane on the right.
Figure 43 Resource Picker Dialog
3.
Click the OK button. The added service appears under the Services tab.
Figure 44 Add a Service to the Component
4.
Click the Save button to save your configuration.
Adding a Shared Resource to a Composite
In section Creating a TIBCO Shared Resource, 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 resource, click on its name in the Name column.
Select HTTP or JMS in the Type column according to the type of the shared resource 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 service 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.
2.
Figure 45 Service Properties Tab
 
Click the General tab to configure the service. The configuration parameters are listed in Table 13.
(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.
Figure 46 Component and Composite Service Binding
For JMS service, specify the shared resource profile in the Endpoint pane.
Figure 47 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 step 3. 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.
3.
Click the Save button to save your configuration.

Copyright © TIBCO Software Inc. All Rights Reserved