RAR File

Use the RAR File page to create the Resource adapter ARchive (RAR) file that is required to contain this . A resource adapter must be packaged using the Java ARchive (JAR) format into an RAR (ResourceAdapter ARchive). For example, a resource adapter for EIS A can be packaged as an archive with a filename eisA.rar. The RAR file must contain a deployment descriptor based on the format specified in Section 17.5.4 of the Connector specification. The deployment descriptor must be stored with the name META-INF/ra.xml in the RAR file. The Java interfaces, implementation, and utility classes (required by the resource adapter) must be packaged as one or more JAR files as part of the resource adapter module. The platform-specific libraries required by the resource adapter must be packaged with the resource adapter module.

You can create a stand-alone RAR file or add the RAR file to an existing application. After you have selected the RAR file location, add the resource adapter interface and implementation classes to its contents.

RAR File Location

Select where you want the RAR archive created. If you want to create the RAR file inside an existing application (EAR):

  1. Select the Create New RAR Module in Application radio button in the RAR File panel.
  2. Open the EAR file for the existing application by choosing it from the drop-down list.
  3. Enter a short name in the RAR Display Name field. This name is the name that will be displayed by Deployment Tool.

To create a stand-alone resource adapter module:

  1. Select the radio button beside Create New Stand-Alone RAR Module.
  2. In the RAR Location edit box, enter the full directory path and file name where you want the RAR file created, or use the Browse button beside it to browse to the location and enter the file name where you want the new RAR created.
  3. Enter a short name in the RAR Display Name field. This name is the name that will be displayed by Deployment Tool.

Adding Content To RAR File

To add the desired resource adapter interface, implementation, and utility classes,
  1. Click Edit to bring up the Edit Contents dialog.
  2. Select files from the Available files list, then click Add to add the files to the RAR.
  3. To remove a file or directory from the RAR, select it from the Contents tree and click Remove. A confirmation dialog will ask you to confirm the deletion.


Legal Notices