BEA Logo BEA Application Integration Adapter Development Kit Release 2.0

  BEA Home  |  Events  |  Solutions  |  Partners  |  Products  |  Services  |  Download  |  Developer Center  |  WebSUPPORT

 

   Application Integration Documentation   |   Application Integration Development Guide   |   Previous Topic   |   Next Topic   |   Contents   |   Index

Creating an Adapter Not Specific to WebLogic Integration

 

The procedure for developing J2EE-compliant adapters outlined in Developing a Service Adapter primarily pertains to adapters developed for use with WebLogic Integration. By making modifications to the steps described in that chapter, you can build an adapter compliant with the J2EE Connector Architecture specification but not WebLogic Integration-specific. This section describes those modifications.

This section contains information on the following subjects:

 


Using this Section

This section shows you how to modify the steps for developing a J2EE-compliant adapter in order to build one that is not specifically designed to run with WebLogic Integration. Each of the steps in this section will refer back to one of the steps described in Developing a Service Adapter and describe how to modify that step. You should understand each of these steps thoroughly before proceeding with the modifications described below.

 


Building the Adapter

This procedure assumes that you have installed WebLogic Integration as described in the BEA WebLogic Application Integration Installation and Configuration Guide.

  1. Determine the development considerations as described in Step 1: Development Considerations. Ignore the final bullet point that refers to transaction support. This is because WebLogic Server 6.0 does not support local or XA transactions.

  2. Run GenerateAdapterTemplate, as described in Creating a Custom Development Environment.

  3. Assign the adapter logical name, as described in Step 2b: Assign the Adapter Logical Name.

  4. Implement the SPI, as described in Basic SPI Implementation. You must extend the following classes:

  5. Extend AbstractConnectionFactory.

 


Updating the Build Process

In addition to the steps described in Building the Adapter, you need to modify the build.xml file to create an adapter not specific to WebLogic Integration. To update the build process, do the following:

  1. In your code editor, open the ADK's build.xml file.

  2. Refer to Step 2c: Setting Up the Build Process in Developing a Service Adapter. This step includes a section called build.xml Components that breaks down the build.xml file into separate code listings.

  3. Locate Listing 6-10 and Listing 6-11.

  4. Remove everything in those listings from build.xml.

 

back to top previous page next page