IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Services and service-related functions > Access external services with adapters > Configure and using adapters > IBM WebSphere Adapters > Adapter Toolkit

Packaging and exporting a resource adapter

You can create a Resource Adapter Archive (RAR) file, with the help of JAR files. You must first add the required JAR files to your project workspace.

A Resource Adapter Archive (RAR) is an archive file format defined in the Java™ EE Connector Architecture (JCA) specification. A RAR file is the approved format to deploy resource adapters on application servers. A Java EE driven RAR represents the connector module of a connector project. The following example shows how to create a RAR file for a sample WebSphere adapter for Enterprise Information System Simulator. You use the RAR file to deploy the adapter on a different environment, after you import it. Adding the required JAR files to your project workspace


Procedure

  1. Open the IBM Integration Designer workspace.

  2. Go to the sample WebSphere Adapter for Enterprise Information System Simulator project.

  3. Click File >Import.

  4. Choose the File System option, and click Next.

  5. Click Browse and choose the folder where the JAR files, for example, DESPI.jar, commonj.connector.jar, CWYBS_AdapterFoundation.jar are located. In your development environment, a probable path can be \plugins\com.ibm.j2ca.wat.afc_7.5.0.3\runtime.
  6. Enable all the options for the JAR files that are to be packaged with the RAR file.

  7. Choose the connector module as the destination folder.

  8. Click Finish. All the JAR files will be added to the project workspace, and the files will be packaged with the RAR file.


    Creating a RAR file

    The following section explains how to create a RAR file.

  9. Open the Integration Designer workspace where the Enterprise Information System Simulator Project is located. This will typically be in the Java EE perspective.

  10. Click File > Export.

  11. Choose the RAR file option in the screen that appears, and click Next.

  12. Choose the folder where you want to create the RAR file.
  13. Name the RAR file.

  14. Run the other default options in the Connector Export screen.

  15. Click Finish.

WebSphere Adapter Toolkit