Adapter Development Kit (ADK)


Creating an adapter is a complex process. It requires an intimate knowledge of the EIS and WLI. WLI s application integration framework provides an Adapter Development Kit, which provides a set of frameworks to facilitate and ease development of adapters. You can use the ADK to create two kinds of adapters: service and event adapters .

Service Adapters

Service adapters invoke specific functions on the EIS based on a request from a client. They may or may not generate a response. Service adapters can be invoked both asynchronously and synchronously. Typically, a service adapter receives a request from a client (in XML), transforms this request into EIS-specific format, invokes the EIS function required, and finally transforms the EIS response into an XML response in some cases.

Event Adapters

Event adapters propagate information from an EIS to a WebLogic server. There are two kinds of event adapters: in-process and out-of-process . In-process event adapters execute within the same process as the EIS, and out-of-process adapters execute in separate processes. Typically, an event adapter transforms event data in a given XML format when an EIS event of interest occurs and propagates the same to an event context obtained from the application view.

ADK Frameworks

The Adapter Development Kit is composed of specialized frameworks, which help at various stages in adapter development. These frameworks are described next .

Design-Time Framework

The design-time framework provides tools for building Web-based user interfaces that adapters users can use to define, test, and deploy application views. A Web application component that facilitates development of JSP-based user interfaces provides JSP templates, taglibs , and a JavaScript library. A deployment helper framework is provided to facilitate deploying and undeploying functionality.

Runtime Framework

The runtime framework is composed of a set of tools, which can be used in developing adapters. To support event adapter development, the framework supports an extensible event generator. A complete J2EE CA-compliant resource adapter is provided to support service adapter development.

Logging Framework

The logging framework wraps log4j functionality to provide added logging functionality when building adapters. This framework provides the ability to log internationalized and locale-specific messages to multiple output destinations. Because the logging framework is based on log4j, it uses a scheme to set priority by application view, category, or package, which is an extremely useful feature.

Packaging Framework

The packaging framework simplifies the creation of a J2EE Adapter archive (RAR) file, a Web application archive (WAR) file, an enterprise archive (EAR) file, and a WebLogic Integration design environment archive.

J2EE CA support is provided by WebLogic Integration through its Application Integration (AI) framework and Adapter Development Kit. The AI framework provides an abstraction between the adapter and EIS functions exposed by it through its application view functionality. The ADK provides various frameworks to facilitate the development, testing, packaging, and deployment of J2EE CA-compliant adapters.



BEA WebLogic Platform 7
BEA WebLogic Platform 7
ISBN: 0789727129
EAN: 2147483647
Year: 2003
Pages: 360

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net