bea.com | products | dev2dev | support | askBEA |
![]() |
![]() |
|
![]() |
e-docs > WebLogic Platform > WebLogic Integration > AI Topics > Developing Adapters > Development Tools |
Developing Adapters
|
Development Tools
The ADK provides a set of robust tools to assist you in developing adapters and the design-time GUI. This section describes these tools. Specifically, it includes information about the following subjects:
Sample Adapter
To help you start building an adapter, the ADK provides a sample adapter with code examples that are not specific to EIS. Do not confuse this sample adapter with the DBMS sample adapters that are also provided by WebLogic Integration; the DBMS sample adapter is documented in Learning to Develop Adapters Using the DBMS Sample Adapter. You can find the DBMS sample adapter in WLI_HOME/adapters/dbms.
Why Use the Sample Adapter?
The purpose of the sample adapter is to free you from much of the coding necessary to build an adapter. It provides concrete implementations of key abstract classes that require customization only to meet the requirements of the EIS you are using. In addition, the ADK provides GenerateAdapterTemplate, a utility with which you can quickly clone the sample adapter development tree for use by the adapter you are developing. See GenerateAdapterTemplate Utility.
What Is In the Sample Adapter?
The sample adapter contains:
sample.eis.EISEvent
sample.eis.EISListener
Note: For details about the classes extended by those in the sample adapter, see the ADK Javadocs.
GenerateAdapterTemplate Utility
To facilitate use of the sample adapter, the ADK provides GenerateAdapterTemplate, a command-line utility you can use to create a new adapter development tree by cloning the sample tree. For complete instructions on using this tool, see Creating a Custom Development Environment.
ADK Javadoc
ADK classes, interfaces, methods, and constructors are defined in the development kit's Javadoc. Javadoc is included with the WebLogic Integration installation. It resides in WLI_HOME/adapters/ADAPTER/docs/api, where ADAPTER is the name of the adapter, such as Sample or DBMS. For example, your Javadoc may be installed in WLI_HOME/adapters/dbms/docs/api.
Ant-Based Build Process
The ADK employs a build process based on Ant, a 100% pure Java-based build tool. For the ADK, Ant does the following:
Why Use Ant?
Traditionally, build tools are shell-based. Like shell commands, they evaluate a set of dependencies and then execute various tasks. While the advantage of such tools is that it is simple to extend them by using or writing any program for your operating system (OS), the disadvantage is that you are limited to that OS.
Ant is preferable to shell-based make tools for the following reasons:
For complete instructions for setting up Ant, see Step 2c: Set Up the Build Process.
XML Tools
The ADK includes the XML Toolkit, a set of two XML development tools that are considered part of the metadata support layer for the design-time framework:
For instructions on using these tools, see XML Toolkit.
WebLogic Integration provides Javadoc for both APIs:
![]() |
![]() |
![]() |
![]() |
||
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |