You can use the example adapter and example module to develop adapters. You can also use this framework to help you develop your own adapter or module.
Note the information contained in the disclaimer.
More information: Accessing JavaDoc and Source Text of the Example Adapter/Module
Overview of the Example Adapter
Characteristic |
Value |
Name |
XI AF JCA Sample Adapter |
Purpose |
Basic structure for developing a new adapter |
Type |
Source code |
Technical name |
com.sap.aii.af.sample.adapter.ra |
Certification |
- |
Syntax |
JavaDoc package com.sap.aii.af.sample.adapter.ra |
Code |
.java files in .jar in com.sap.aii.adapter.sample.ra.rar More information: Accessing JavaDoc and Source Text of the Example Adapter/Module |
Deployment |
com.sap.aii.adapter.sample.ra.rar in SAPXIAF<PL>_<HF>.sca |
Overview of the Example Module
Characteristic |
Value |
Name |
XI AF Sample Module |
Purpose |
Basic structure for developing a new Adapter Framework module |
Type |
Source code |
Technical name |
Com.sap.aii.af.sample.module |
Certification |
- |
Syntax |
JavaDoc package com.sap.aii.af.sample.module |
Code |
.java files in .jar in com.sap.aii.adapter.sample.module.app.sda More information: Accessing JavaDoc and Source Text of the Example Adapter/Module |
Deployment |
com.sap.aii.adapter.sample.module.app.sda in SAPXIAF<PL>_<HF>.sca |
To structure the example adapter and the example module, you must include the references to external libraries.
More information: In the deployment descriptor files connector-j2ee-engine.xml in the .rar file and application-j2ee-engine.xml in the .sda file.
● Only set references to the Adapter Framework API facades.
● Do not define references to the implementing components.
● Specify at least the following Adapter Framework API references:
These apply for adapters and modules.
○ Adapter Framework libraries: com.sap.aii.af.lib.facade
○ Adapter Framework interfaces: com.sap.aii.af.ifc.facade
○ Adapter Framework services: com.sap.aii.af.svc.facade
Specify the following AS Java references:
● JCA 1.0 Lifecycle Fallback interface:appcontext (only for the adapter)
● AS Java components, for example, Transaction Manager Service engine.application.facade
The following references are optional:
● GUID generator library: com.sap.base.technology.facade
● Security service: engine.security.facade
● ejb/RMI library: engine.j2ee14.facade
If you are developing a module for the sender file/FTP adapter and are accessing the file name, see SAP Note 819761.
More information: Configuring the Sender File/FTP Adapter, Configuring the Sender FTP Adapter