Professional Documents
Culture Documents
.The output of one system may not confirm to the expected input of another system.
.Adapter Design Pattern facilitates the communication between two existing systems by
providing a compatible interface.
Adapter: Sits between Client & Adaptee and confirms to what is expected by the Adaptee
Target Interface: Interface which Adaptee implements and receives request from Client
-> Client sends the request to adapter using the Target Interface .
-> Adapter translates the message that Adaptee will understand.
Adapter is meant to :
The pattern is to bridge the gap between two incompatible systems , can use
systems and integrate external sources into them.