Skip navigation.

Introducing Application Integration

  Previous Next vertical dots separating previous/next from contents/index/pdf Contents Index View as PDF   Get Adobe Reader

Understanding the Development Kit Adapters

The BEA WebLogic Integration Adapter Development Kit (ADK) provides sample adapters to get you started developing your own adapters: two DBMS adapters and a sample adapter. If you are developing your own adapters using the ADK, we recommend that you begin by studying the adapters supplied with the kit. Although these adapters are generic and simple, they serve as excellent examples of the types of adapters you can build using the ADK.


How the Kit Adapters Were Developed

All the development kit adapters were developed using the ADK. Although the ADK makes it possible to develop sophisticated adapters, the adapters provided in the kit have been kept simple deliberately, to make them easy to dissect and understand.


How to Use the Kit Adapters

If you are an adapter provider or developer, we recommend that you study the kit adapters to increase your knowledge of the ADK and to determine how you can use the adapters as models for your own. All kit adapters are based on a superset of J2EE Connector Architecture 1.0 (J2EE 1.3 from Sun Microsystems). XML input/output and browsing requirements have been added to the CCI interface (collectively known as XCCI for XML CCI). For details about the ADK, see Developing Adapters. The following sections provide details about the kit adapters.

DBMS Adapter

WebLogic Integration provides DBMS adapters that integrates WebLogic Server with a simple relational database that it uses as its EIS. Two DBMS sample adapters are provided:

Warning: When setting connection parameters for these adapters, specify a JDBC Driver and URL. Do not use a DataSource with the sample DBMS adapters. Using a DataSource with the sample adapters results in java.sql.SQLException XA errors.

The DBMS adapters serve as a good example for adapter developers and providers who want to understand the adapter and ADK without having to learn an unfamiliar proprietary database system.

If you do not have a suitable database to use with the DBMS adapters, you can use the PointBase database included with WebLogic Integration.

The DBMS adapters support the following functions:

For more information, see Learning to Develop Adapters Using the DBMS Sample Adapters in Developing Adapters.

Sample Adapter

The sample adapter is provided as a template for new adapters. It includes a design-time component, a service connection, and an event connection. The source code clearly documents the structure of the service connection and the event connection.

The sample adapter is accompanied by a simple EIS implementation that demonstrates how related events can be triggered by invoking services. Each component contains comments indicating where you must supply your own adapter-specific logic.


Back to Top Previous Next