Chapter 2. Fundamental concepts in Process Integration 23
Adapters
Adapters provide the logical connectivity to an application. Without adapters,
each application would need to implement the specific interface of the target
application.
It is useful to distinguish three types of adapters:
? Control adapters are not concerned with content. They are only concerned
with the activities involved in flow operations:
– Transforming the protocol used between the segments
– Segmenting, batching, and sorting data blocks
– Correctly interacting with the path connector to execute the transport
operation (This includes respecting the protocol rules.)
? View adapters are concerned with transforming content but only in terms of its
technical representation. Examples include:
– Element demarcation schemes, such as delimited, fixed-length, and XML
– Element sequencing schemes, such as keys and collation sequences
– Element encoding schemes, such as character set, number format, and
date format
? Model adapters transform the semantic content and normally require
business input to define correct operational rules. Some examples are:
– Splitting out subsets of data
– Joining external data (augmentation/enrichment)
– Summarization
– Translation of identifiers (key management)
Coupling adapter connectors
Coupling adapter connectors can be used to implement a common integration
protocol such as messaging, RMI/IIOP, SOAP/HTTP, and so on. As shown in
Figure 2-8, the adapter functionality between the source application and the
target application is decomposed into two halves. Each half adapts to and from a
common intermediate protocol.