Show TOC

Developing a Java Adapter for SAP NetWeaver PILocate this document in the navigation structure

Context

SAP NetWeaver PI installation delivers a sample adapter. You can use this adapter as a template for developing your own adapters. Find the tasks required to change the sample adapter to your own adapter with a different adapter name and type, package name, deployment/JNDI name, trace and log file location, and configuration parameters. The step by step procedure shows you how you can use the com.sap.aii.adapter.sample.ra.rar adapter's template to develop the YOURADAPTER adapter.

Note

This description gives you an overview of the required tasks.

For more information about detailed instructions for adapter and module development, see: Developing Adapters and Modules

Procedure

  1. Download the com.sap.aii.adapter.sample.ra.rar file .
  2. Provide a different adapter name and type, package name, JNDI name, trace and log file locations, and the metadata describing the configuration parameters for the sample_ra adapter's Java program.
  3. Change the configuration files used to build the RAR file.
  4. Include the Java code for the adapter.
  5. Create the RAR file and deploy it to the AS Java.
  6. Test the adapter. For testing you need to create a service, sender and receiver communication channels, and sender and receiver agreements.

    More information: Testing Your Adapter