12.11.2014 Views

web server - Borland Technical Publications

web server - Borland Technical Publications

web server - Borland Technical Publications

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Deploying the Resource Adapter<br />

Packaging and deployment<br />

The file format for a packaged Resource Adapter module defines the contract between<br />

a Resource Adapter provider and a Resource Adapter deployer. A packaged Resource<br />

Adapter includes the following elements:<br />

■<br />

■<br />

■<br />

■<br />

Java classes and interfaces that are required for the implementation of both the<br />

Connectors system-level contracts and the functionality of the Resource Adapter<br />

Utility Java classes for the Resource Adapter<br />

Platform-dependent native libraries required by the Resource Adapter<br />

Help files and documentation<br />

■<br />

Descriptive meta information that ties the above elements together<br />

For more information on packaging requirements, refer to Section 10.3 and 10.5 of the<br />

Connectors 1.0 specification, which discuss deployment requirements and supporting<br />

JNDI configuration and lookup, respectively.<br />

Deploying the Resource Adapter<br />

Deployment of Resource Adapters is similar to deployment of EJBs, Enterprise<br />

Applications and Web Applications. As with these modules, a Resource Adapter can<br />

be deployed as an archive file or as an expanded directory. A Resource Adapter can<br />

be deployed either dynamically using the <strong>Borland</strong> Enterprise Server Console or the<br />

iastool utilities, or as a part of an EAR. See the <strong>Borland</strong> Enterprise Server User's<br />

Guide for deployment details.<br />

When a Resource Adapter is deployed, a name must be specified for the module. This<br />

name provides a logical reference to the Resource Adapter deployment that, among<br />

other things, can be used to update or remove the Resource Adapter. <strong>Borland</strong><br />

Enterprise Server implicitly assigns a deployment name that matches the filename of<br />

the RAR file or deployment directory containing the Resource Adapter. This logical<br />

name can be used to manage the Resource Adapter after the <strong>server</strong> has started. The<br />

Resource Adapter deployment name remains active in the <strong>Borland</strong> Enterprise Server<br />

until the module is undeployed.<br />

Application development overview<br />

Developing application components<br />

Common Client Interface (CCI)<br />

The client APIs used by application components for EIS access can be categorized as<br />

follows:<br />

■<br />

■<br />

■<br />

The standard common client interface (CCI) defined in Section 9 of the Connectors<br />

1.0 specification.<br />

A general client interface specific to the type of Resource Adapter and its underlying<br />

EIS. For example, JDBC is one such interface for RDBMSs.<br />

A proprietary client interface specific to the particular Resource Adapter and its<br />

underlying EIS. For example, the CICS Java Gateway is one such interface for the<br />

IBM CICS transaction processor, and the JFC for the SAP R/3 enterprise resource<br />

planner is another.<br />

270 BES Developer’s Guide

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!