Example: ra.xml deployment descriptor file

The ra.xml deployment descriptor file is used by the WebSphere Commerce sample 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>Sample Adapter</display-name> 
<description>It is a sample resource adapter provided by WebSphere Commerce.</description> 
<vendor-name>IBM Corporation</vendor-name> 
<spec-version>1.0</spec-version> 
<eis-type>Sample</eis-type> 
<version>1.0</version> 
<license> 
<description>Licensed Materials - Property of IBM WebSphere Commerce</description> 
<license-required>true</license-required> 
</license> 
<resourceadapter>
<managedconnectionfactory-class>com.ibm.commerce.messaging.adapters.jcasample.SampleManagedConnectionFactory</managedconnectionfactory-class> 
<connectionfactory-interface>javax.resource.cci.ConnectionFactory</connectionfactory-interface> 
<connectionfactory-impl-class>com.ibm.commerce.messaging.adapters.jcasample.SampleConnectionFactory</connectionfactory-impl-class> 
<connection-interface>javax.resource.cci.Connection</connection-interface> 
<connection-impl-class>com.ibm.commerce.messaging.adapters.jcasample.SampleConnection</connection-impl-class> 
<transaction-support>NoTransaction</transaction-support> 
<config-property> 
<config-property-name>Input</config-property-name> 
<config-property-type>java.lang.String</config-property-type> 
<config-property-value>test messages</config-property-value> 
</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>