Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 6 Configuring an ActiveMatrix SOA Project : Configuring Composites

Configuring Composites
In the ActiveMatrix platform, a composite exports a cohesive set of business functions as services. A composite contains of one or more components. A component contains a configured implementation, where the implementation provides the business functions.
The component configures the implementation with 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, follow the tasks below:
For more information, refer to the TIBCO ActiveMatrix Service Grid documentation.
 
Task A Launch the Composite Editor
The Composite Editor is a graphical editor for developing composites.
In a SOA project, the composite file, SOAProjectName.composite is located at The Composite folder. You can double-click the SOA Project name.composite file to launch the Composite Editor.
Task B Create a Shared Resource
In order for the ActiveMatrix service to be accessible from external client, a shared resource must be added.
1.
From the File menu, select New > TIBCO Shared resources.
2.
Click Next.
3.
4.
Click Finish.
5.
Task C Add the Shared Resource to Composite
To add the HTTP Server or JMS shared resource to the composite:
1.
2.
Click the Shared Resource Profiles tab in the Properties notebook.
3.
4.
5.
6.
Task D Add Components
A component contains a configured implementation. To add a component to a composite:
1.
In the Composite Editor, drag the LotusNotesAdapter component from the Palette to the Components column. And enter a name for the component.
2.
3.
In the Resource Picker dialog, select an adapter endpoint from the left hand pane, and then click Add to add the adapter service to the component.
4.
Figure 25 Add Resources to a Component
Table 21 lists the fields displayed in the General tab of the adapter component.
(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.
Task E Add 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 add a composite service:
1.
For TIBCO ActiveMatrix Adapter Service Engine for Lotus Notes, only JMS and SOAP services are available.
2.
3.
If you have added the component to the composite, click the Target tab of the Properties view, then select the target component to bind with the composite service.
Figure 26 Component and Composite Service Binding
Corresponding information is populated to the General tab and the Binding tab.
Figure 27 General Tab of Composite Service
4.
Click the Binding tab in the Properties notebook to add the shared resource profile:
For the SOAP service, you calso need to click the Generate WSDL button to generate another .wsdl file in the Composites folder of the SOA project. This .wsdl file will later be used by an external client to access the service within ActiveMatrix.

Copyright © TIBCO Software Inc. All Rights Reserved