![]() |
![]() |
|
|
Tools
The ADK provides a robust set of tools to assist you in developing adapters and the design-time GUI.
This section includes information on the following subjects:
Sample Adapter
The ADK contains a sample adapter that provides non-EIS specific code examples to help you start building an adapter. Do not confuse this sample adapter with the e-mail and DBMS adapters also included with WebLogic Integration; these adapters are documented in The DBMS Adapter, and The E-mail Adapter. You can find them in WLI_HOME/adapters/dbms and WLI_HOME/adapters/email.
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 only require customization for your specific EIS. In addition, the ADK provides the GenerateAdapterTemplate utility with which you can quickly clone the sample adapter development tree for use by the adapter you are developing. See The GenerateAdapterTemplate Utility.
What's In the Sample Adapter
Specifically the sample adapter contains:
sample.eis.EISEvent
sample.eis.EISListener
Note: For more details on the classes extended by those in the sample adapter, please refer to the ADK Javadocs.
The GenerateAdapterTemplate Utility
To facilitate using the sample adapter, the ADK provides GenerateAdapterTemplate, a command-line utility you can use to clone the sample adapter development tree and create a new adapter development tree. See Creating a Custom Development Environment, for complete instructions on using this tool.
ADK Javadoc
ADK classes, interfaces, methods, and constructors are defined in the development kit's Javadocs. Javadocs are included with the WebLogic Integration installation and are stored in WLI_HOME/adapters/ADAPTER/docs/api, where ADAPTER is the name of the adapter, such as Sample, DBMS, or e-mail; for example, WLI_HOME/adapters/dbms/docs/api.
Ant-Based Build Process
The ADK employs a build process based upon Ant, a 100% pure Java-based build tool. For the ADK, Ant does the following:
Why Use Ant?
Traditionally, build tools are inherently shell-based. They evaluate a set of dependencies and then execute commands, not unlike those you would issue on a shell. While it is simple to extend these tools by using or writing any program for your operating system, you are also limited to that OS, or at least that OS type (for example, Unix).
Ant is preferable to shell-based make tools for the following reasons:
For complete instruction on setting up Ant, see Step 2c: Setting Up the Build Process.
XML Tools
The ADK ships with two XML development tools, which are considered part of the metadata support layer for the design-time framework. These tools, which comprise the XML Toolkit, are:
For instructions on using these tools, refer to XML Toolkit.
Also, your installation of WebLogic Integration includes Javadoc on both of these APIs.
![]() |
![]() |
![]() |
|
Copyright © 2001 BEA Systems, Inc. All rights reserved.
|