
For information on the characteristics of an IBM WebSphereResource Adapter and
a J2C Resource Adapter,see Introduction to JCA.
Generation Options dialog
From the Adapter Specification drop-down, choose the type of adapter you want
to create:
vChoose IBM WebSphere Resource Adapter in the Adapter Specification list to
generate code that extends the Adapter Foundation Classes.
vChoose J2EE J2CA Resource Adapter in the Adapter Specification list to
generate code that implements the JCA 1.5 interface specification.
The wizard displays the generation options that correspond to your adapter.
What to do next
Youare ready to specify generation options that match your adapter requirements.
Generating an IBM WebSphere Resource AdapterYouuse the wizard to generate adapter classes that correspond to the adapter
capabilities you require. This involves choosing the types of adapter classes
(outbound, inbound, data binding, or enterprise metadata discovery) you want to
generate and then choosing the component properties associated with the adapter
classes.
The following sections describe the adapter classes and their associated component
properties.
Outbound adapter classes and associated properties
Generating outbound adapter classes creates code (and in some cases sequence of
calls, log and trace messages and comments) for the methods that must be
implemented to produce a resource adapter that can send business events to an
EIS. The list of Adapter Foundation Classes that are extended in your Connector
Project when you choose to generate outbound adapter classes is as follows:
vConnection extends com.ibm.j2ca.base.WBIConnection
vConnectionFactory extends com.ibm.j2ca.base.WBIConnectionFactory
vConnectionRequestInfo extends com.ibm.j2ca.base.WBIConnectionRequestInfo
vInteraction extends com.ibm.j2ca.base.WBIInteraction
vInteractionSpec extends com.ibm.j2ca.base.WBIInteractionSpec
vManagedConnection extends com.ibm.j2ca.base.WBIManagedConnection
vManagedConnectionFactory extends
com.ibm.j2ca.base.WBIManagedConnectionFactory
In addition the following are generated directly from the JCA1.5 interface
specification:
vConnectionSpec implements javax.resource.cci.ConnectionSpec
vConnectionMetaDataImpl implements javax.resource.cci.ConnectionMetaData
vLocalTransactionimplements javax.resource.spi.LocalTransaction
WebSphereAdapter development overview 35