Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 1 Introduction : Adapter Interactions

Adapter Interactions
At the most basic level, a TIBCO Adapter makes data available from a source application or allows information resulting from transactions in a TIBCO application to be entered into a target application. This is often discussed in terms of a services architecture. Services are abstractions that describe how adapters work together with other applications.
An adapter generally supports publish/subscribe and request/response interactions.
Publish/Subscribe Interactions
Publish/subscribe interactions are driven by events such as the arrival of data or a timer signaling that a specified interval has expired. The following services are available for publish/subscribe interactions.
Publication Service
An adapter publication service makes information about source application business events available to other applications enabled for the TIBCO environment. For example, an adapter can publish an event each time an order changes its status in an Oracle database.
Figure 4 Publication Service
Subscription Service
An adapter subscription service gets information about business events from the TIBCO environment and writes the information into a target application. For example, an adapter can subscribe to events that indicate the creation of a new customer and then enter the customer information into a Siebel customer care target application.
Figure 5 Subscription Service
Request/Response Interactions
Demand for data drives request/response (client/server) interactions. The complete interaction consists of two point-to-point messages—a request and a response.
Communication flows in both directions, as illustrated in Figure 6.
Figure 6 Request-Response Interaction
Demand-driven computing suits distributed applications that require point-to-point messages. In request/response interactions, data providers coordinate closely with data consumers. A provider does not send data until a consumer requests it.
The server sends replies to the client that requested the data. The client listens until it receives the reply, and then stops listening (unless it expects further installments of information).
The following services are available for request/response interactions.
Request-Response Service
An adapter request-response service acts as a server, which retrieves information on demand and accepts instructions to perform transactions in the target application.
Request-Response Invocation Service
An adapter request-response invocation service acts as a client, which sends a request for information or actions from the target application to another application.
The application processes the request and sends a response back to the adapter, which then returns the response to the target application.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved