‎2008 Jun 01 5:41 AM
‎2008 Jun 01 3:54 PM
‎2008 Jun 02 10:20 AM
hi,
Adapters enable the Integration Engine and the Partner Connectivity Kit (PCK) to communicate with different applications.
Adapters connect the Integration Engine to SAP legacy systems, as well as to external systems.
In this way, adapters integrate existing SAP components with SAP Exchange Infrastructure, for example. In the process, XML and HTTP-based documents are converted to IDocs (IDoc adapter) and RFCs (RFC adapter) and the other way around. This enables you to integrate your existing SAP infrastructure with the new SAP infrastructure, which is based on system integration and the exchange of XML messages.
pls check this link.
http://help.sap.com/saphelp_nw04/helpdata/en/0d/5ab43b274a960de10000000a114084/content.htm
‎2008 Jun 02 11:29 AM
Hi,
In computer programming, the adapter design pattern (often referred to as the wrapper pattern or simply a wrapper) 'adapts' one interface for a class into one that a client expects. An adapter allows classes to work together that normally could not because of incompatible interfaces by wrapping its own interface around that of an already existing class. The adapter is also responsible for handling any logic necessary to transform data into a form that is useful for the consumer. For instance, if multiple boolean values are stored as a single integer but your consumer requires a 'true'/'false', the adapter would be responsible for extracting the appropriate values from the integer value.
Structure:
There are two types of adapter patterns:
Object Adapter pattern
In this type of adapter pattern, the adapter contains an instance of the class it wraps. In this situation, the adapter makes calls to the instance of the wrapped object.
ADAPTEE
+methodB ( )
^
CLIENT - > ADAPTER +adapter : adapter +adaptee : adaptee +doWork ( ) +methodA ( ) |
V V
adapter.methodA ( ) ; adapter.methodB ( );
The object adapter pattern expressed in UML. The adapter hides the adaptee's interface from the client.
For more detail explaination with diagrams refer the following link:
http://en.wikipedia.org/wiki/Wrapper_pattern#Sample_-_Class_Adapter
Reward points if my attempt made you to understand what an adapter class is.
Regards,
Sekhar