12.11.2014 Views

web server - Borland Technical Publications

web server - Borland Technical Publications

web server - Borland Technical Publications

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Deployment Descriptors for the Resource Adapter<br />

Configuring ra-borland.xml<br />

The ra-borland.xml file contains information required for deploying a Resource Adapter<br />

to the <strong>Borland</strong> Enterprise Server. Certain attributes need to be specified in this file in<br />

order to deploy the RAR file. This functionality is consistent with the equivalent .xml<br />

extensions for EJBs, EARs, WARs, and client components for the <strong>Borland</strong> Enterprise<br />

Server.<br />

Until <strong>Borland</strong>-specific deployment properties are provided in the ra.borland.xml file, the<br />

RAR cannot be deployed to the <strong>server</strong>. The following attributes must be specified first<br />

in ra-borland.xml:<br />

■<br />

■<br />

■<br />

■<br />

■<br />

■<br />

■<br />

■<br />

■<br />

■<br />

Name of the connection factory<br />

Description of the connection factory<br />

JNDI name bound to the connection factory<br />

Reference to a separately deployed connection factory that contains Resource<br />

Adapter components which can then be shared with the current Resource Adapter.<br />

Directory where all shared libraries should be copied<br />

Connection pool properties:<br />

■<br />

■<br />

■<br />

busy-timeout: the number of seconds to wait before a busy connection is<br />

released. The default is 600 seconds<br />

idle-timeout: a pooled connection remaining in an idle state for a period of time<br />

longer than this timeout value should be closed. All idle connections are checked<br />

for expiration every 60 seconds. The value of the idle-timeout is given in<br />

seconds. The default is 600 seconds.<br />

wait-timeout: the number of seconds to wait for a free connection. The default is<br />

30 seconds.<br />

Values for configuration properties defined in a element of the Sun<br />

standard Resource Adapter deployment descriptor<br />

Mapping of security principals for Resource Adapter/EIS sign-on processing. This<br />

mapping identifies resource principals to be used when requesting EIS connections<br />

for applications that use container-managed security and for EIS connections<br />

requested during initial deployment.<br />

A flag to indicate whether logging is required for the ManagedConnectionFactory or<br />

ManagedConnection classes.<br />

The file to store logging information for the two aforementioned classes<br />

Configuring the element in ra-borland.xml<br />

The optional element allows you to associate multiple deployed<br />

Resource Adapters with a single deployed Resource Adapter. This provides for linking<br />

and reusing resources already configured in a base Resource Adapter to another<br />

Resource Adapter, modifying only a subset of attributes. Use of the <br />

element avoids duplication of resources (for example, classes, JARs, images, etc.)<br />

where possible. Any values defined in the base Resource Adapter deployment are<br />

inherited by the linked Resource Adapter unless otherwise specified.<br />

Chapter 27: Using VisiConnect 267

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

Saved successfully!

Ooh no, something went wrong!