Pramati Technologies

Working with Connectors

Overview

A Resource Adapter Archive (RAR) stores resource adapters that may be deployed on any J2EE se rver, similar to the EAR in a J2EE application. A RAR can be deployed in an EAR. A resource adapter is a J2EE component that implements the J2EE connector technology for a specific EIS. A J2EE application communicates with an EIS through a resource adapter.

Deploying RARs in Studio

There are three ways to work with RARs in Studio:

Deploying RARs directly

To deploy RARs directly without adding the archive to the desk:

  1. Open Deploy Tool by selecting Tools > Deploy from the main menu. This starts the current server, if not already running and brings up the Deploy Tool.
  2. Select Archive > Open in the Deploy Tool to open the archive from where it is stored.
  3. Select Archive > Deploy to deploy the archive.

The archive is now ready to be accessed by the client.

Deploying RAR with an EAR

To deploy RARs after adding it to an EAR:

    1. Open the Package Tool by selecting Tools > Package from the main menu.

  1. Select EAR > New in the Package Tool. This creates an EAR. To open an existing EAR, select EAR > Open. This prompts the user to browse for the EAR.

  2. In the EAR, right click on the EAR node and select Add RAR.
  3. Save the EAR and exit from the Package Tool using Archive > Save and Exit.

The EAR can now be deployed using Deploy Tool.

Using RAR in Express Development

To work with RARs in Express Development:

    1. Open the desk which contains a RAR node.
  1. Right click on the RAR folder and select Import Files.
  2. In the Import Files panel, select the directory where the RAR is stored and import the required files in Studio.

This file is now available for Express Development.


Pramati Technologies  © Copyright   TOCPREVNEXTINDEX