user manual
Chapter 27: Using VisiConnect 289
Connection Management
from your Java interfaces for use in other languages. To a CORBA client, the
VisiConnect Container is a CORBA server. The VisiConnect Container tools
are CORBA tools that are equally capable of handling Resource Adapters.
The Borland VisiConnect Container is based on JNDI over CosNaming and
JTS/OTS. Together, these provide complete support for CORBA.
Container as a partition service and standalone process
The VisiConnect container can run as a Partition service or as a standalone
process.
For information on the VisiConnect container as a Partition service go to
Chapter 3, “Using Partition services” in the "Management Console User's
Guide".
Running a Standalone Container
If desired, additional versions of the VisiConnect container can be created and
executed as a standalone process.
To run a standalone VisiConnect Container, execute the following command
from a UNIX or Windows command line environment:
vbj com.borland.enterprise.visiconnect.ConnectorService visiconnect <RAR0
RAR1 RAR2 ...> -jns -jts
This will start up the standalone Connector Container named "visiconnect",
loading the specified RAR(s), and starting the VisiNaming (-jns) and
VisiTransact (-jts) sub-services.
Connection Management
The ra.xml deployment descriptor file contains a config-property element to
declare a single configuration setting for a ManagedConnectionFactory
instance. The resource adapter provider typically sets these configuration
properties. However, if a configuration property is not set, the resource
adapter deployer is responsible for providing a value for the property.
Configuring Connection Properties
VisiConnect allows you to set configuration properties through the use of the
property element in the ra-borland.xml deployment descriptor file. To configure
a set of configuration properties for a resource adapter, you specify a
property-name and property-value pair for each configuration property to
declare.
You can also use the property element to override the values specified in the
ra.xml deployment descriptor file. At start-up, VisiConnect compares the
values of property in ra-borland.xml against the values of config-property in










