This section provides the following information about the development process for a J2EE application component:
To develop a J2EE application component that communicates with an ICS-managed EIS through a WebSphere Access Resource Adapter, you code the application-component source file(s) and complete other tasks. The task of creating an application component that communicates with an ICS-managed EIS includes the following general steps:
input record, request execution of a collaboration, and access the returned output record.
Figure 6 provides a visual overview of the application-component development process and provides a quick reference to chapters where you can find information on specific topics.
Figure 6. Overview of the application-component development task
To support development of an application component that requires
communication with an ICS-managed EIS, Server Access for J2EE provides the
features in Table 4.
Table 4. Support for client components and an Access Resource Adapter
Server Access for J2EE support | Description |
---|---|
WebSphere Access Resource Adapter: CWResourceAdapter.rar | Provides the application component with ICS-specific implementation of
CCI interfaces
For more information, see "IBM WebSphere Access Resource Adapter". |
Application-component sample | Includes the following:
|
To support development of a J2EE application component that uses an Access Resource Adapter, Server Access for J2EE provides the solutions in the following subdirectory of the product:
DevelopmentKits\j2ee\ResourceAdapter\samples
This directory contains deployable code and samples for Server Access for J2EE. The samples help you integrate a WebSphere Access Resource Adapter into the J2EE application.
This samples subdirectory contains the following files:
Table 5. Subdirectories included with the sample EJB client
Name | Description |
---|---|
src | Contains the source code for the sample EJB client and the stand-alone client application |
samples\websphere | Contains the deployment instructions and files for WebSphere Application Server Advanced Edition 4.0 |
The sample application component provides an EJB that runs within the context of the application server and can look up the adapter and use it. The EJB client demonstrates how the Access Resource Adapter can execute a WebSphere Business Integration Collaboration. This sample contains code to perform the following tasks: