This may occur when integrating mid tier logic with back end data. When complex business logic is required to integrate information from various sources, this pattern may be applied. Often this logic is partitioned into components that interact not in a traditional client-server mode but a distributed peer to peer mode. In any EAI solution, adapters are the elements that provide connectivity with source and target applications. Clearly, the answer is yes.
Most adapters conform to one of various patterns.
We will briefly touch upon just one of these patterns in this article but in the future, I may have an opportunity to expand the scope of this discussion. The Adapter Pattern up for discussion is the primitive but rather common Direct Database Access Pattern. Adapters of this pattern tend to utilize some common database access mechanism such as ODBC or JDBC whenever possible. However, the challenge in the design of these adapters is that the capturing of change of state within the application database remains a problem. Other Adapter Patterns up for discussion but beyond the scope of this article include User Interface Protocol Pattern, Conversational Mode Pattern, Data Exchange Pattern and Remote Function Call Pattern.