Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 6 Using the OIG JCA Adapter : JCA Deployment Descriptor

JCA Deployment Descriptor
What is the Deployment Descriptor?
The deployment descriptor is an XML document that contains information about the adapter, including deployment settings. For more information on JCA deployment descriptors, refer to the JCA 1.0 specification.
Deployment Descriptor Example
This section presents code for a sample Object Integration Gateway JCA deployment descriptor file.
Deployment Descriptor
The following is a code sample of the default deployment descriptor for the Object Integration Gateway JCA adapter:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE connector PUBLIC '-//Sun Microsystems,
Inc.//DTD Connector 1.0//EN'
'http://java.sun.com/dtd/connector_1_0.dtd'>
<connector>
  <display-name>OigAdapter</display-name>
  <vendor-name>Objectstar Software Inc.</vendor-name>
  <spec-version>1.0</spec-version>
  <eis-type>ObjectStar Integration Gateway</eis-type>
  <version>1.0</version>
  <resourceadapter>
   <managedconnectionfactory-class>
com.ObjectStar.connector.cci.CciManagedConnectionFactory
   </managedconnectionfactory-class>
   <connectionfactory-interface>
javax.resource.cci.ConnectionFactory
   </connectionfactory-interface>
   <connectionfactory-impl-class>
com.ObjectStar.connector.cci.CciConnectionFactory
   </connectionfactory-impl-class>
   <connection-interface>
javax.resource.cci.Connection
   </connection-interface>
   <connection-impl-class>
com.ObjectStar.connector.cci.CciConnection
   </connection-impl-class>
   <transaction-support>
LocalTransaction
   </transaction-support>
   <config-property>
<config-property-name>HOST</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>pipin</config-property-value>
   </config-property>
   <config-property>
<config-property-name>PORT</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>9068</config-property-value>
   </config-property>
   <config-property>
<config-property-name>USERID</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>HURON1</config-property-value>
   </config-property>
   <config-property>
<config-property-name>PASSWORD</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>HURON1</config-property-value>
   </config-property>
   <config-property>
<config-property-name>LIBRARY</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>ECTSSAMP</config-property-value>
   </config-property>
   <config-property>
<config-property-name>SEARCH</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>I</config-property-value>
   </config-property>
   <config-property>
<config-property-name>DATAIN</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>8000</config-property-value>
   </config-property>
   <config-property>
<config-property-name>DATAOUT</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>8000</config-property-value>
   </config-property>
   <config-property>
<config-property-name>DEBUG</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>FALSE</config-property-value>
   </config-property>
   <config-property>
<config-property-name>TRACEMESSAGES</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>
C:\TEMP\TRACEMESSAGES.LOG
</config-property-value>
   </config-property>
   <config-property>
<config-property-name>XMLPARSER</config-property-name>
<config-property-type>java.lang.String</config-property-type>
   <config-property-value>
org.apache.xerces.parsers.SAXParser
   </config-property-value>
   </config-property>
   <config-property>
</config-property>
   <authentication-mechanism>
<authentication-mechanism-type>
BasicPassword
</authentication-mechanism-type>
<credential-interface>
javax.resource.security.PasswordCredential
</credential-interface>
   </authentication-mechanism>
   <reauthentication-support>false</reauthentication-support>
  </resourceadapter>
 </connector>

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved