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
- Open the IBM Integration Designer workspace.
- Go to the sample WebSphere Adapter for Enterprise Information System Simulator project.
- Click File >Import.
- Choose the File System option, and click Next.
- 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.
- Enable all the options for the JAR files that are to be packaged with the RAR file.
- Choose the connector module as the destination folder.
- 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 fileThe following section explains how to create a RAR file.
- Open the Integration Designer workspace where the Enterprise Information System Simulator Project is located. This will typically be in the Java EE perspective.
- Click File > Export.
- Choose the RAR file option in the screen that appears, and click Next.
- Choose the folder where you want to create the RAR file.
- Name the RAR file.
- Run the other default options in the Connector Export screen.
- Click Finish.