Developing Adapters
The procedures for developing J2EE-compliant adapters outlined in Developing a Service Adapter, and Developing an Event Adapter, primarily pertain to adapters developed for use with WebLogic Integration. By making modifications to the procedures described in those chapters, you can build an adapter that complies with the J2EE Connector Architecture specification but is not specific to WebLogic Integration.
This section describes those modifications. Specifically, it provides information about the following subjects:
This section shows you how to modify the procedure for developing a J2EE-compliant adapter in order to build one that is not specifically designed to run with WebLogic Integration. Each step in this section refers to a corresponding step in Developing a Service Adapter, and describes how to modify that step. You should understand each step thoroughly before proceeding with the modifications described here.
This procedure is based on the assumption that you have installed WebLogic Integration as described in Installing BEA WebLogic Integration.
AbstractManagedConnectionFactory
(described in ManagedConnectionFactory)AbstractManagedConnection
(described in ManagedConnection)AbstractConnectionMetaData
(described in ManagedConnectionMetaData)
In addition to the procedure provided in Building the Adapter, you need to modify the build.xml
file to create an adapter that is not specific to WebLogic Integration. To update the build process, do the following:
build.xml
file are shown in a set of code listings.