46 Broker Interactions for Intra- and Inter-enterprise
? Enable back-end application integration
? Minimize application complexity
The primary goal is to allow one application to gain direct and real-time access to
another in order to reduce the latency of business events.
Solution
This Application pattern, as shown in Figure 3-2 on page 45, is divided into a
number of logical components:
? The Source Application tier represents one or more applications that are
interested in initiating an interaction with the target application.
? The Connection is the line between the source application and the target
application representing a point-to-point connection between the two
applications.
? The Connection Rules tier represents any business rules associated with the
connection, such as data mapping rules and security rules.
? The Target Application tier represents a new application, a modified existing
application, or an unmodified existing application. This application is
responsible for implementing the necessary business services.
Guidelines for use
Direct integration between applications can be inflexible, in that any changes to
one application may have knock-on effects on other applications. Changes to the
target application may also require changes to the source application. Such
changes can become both expensive and time consuming, especially when the
target application is being accessed by a number of different source applications.
Different IT departments may also be responsible for developing and maintaining
the source and target applications. Under such a scenario, development might
be difficult to coordinate, especially if the interfaces between the applications
being integrated are not properly defined and documented. Because of this, it is
important to clearly define such interfaces in advance.
Benefits
The Direct Connection application pattern offers the following benefits:
? It works with applications that have simple integration requirements with only
a few back-end applications.
? It increases the organizational efficiency and reduces the latency of business
events by providing real-time access to business data and business logic,
and avoiding manual synchronization of data between applications.