To use the DMS resource adapter in a WTP Java project, do the following steps. Click the links for information about each dialog box of the wizard.
In the Eclipse window, select a project.
From
OS 2200 menu, select OS 2200 Resource Adapters, and click
Add DMS RA (
).
The DMS Resource Adapter wizard opens.
Specify the bean or create a new bean, specify the DMS RA jar location, if necessary (refer to the Eclipse IDE for OS 2200 Installation Guide), and click Next.
Specify the RA connection and click Next.
Specify Data Manager information and click Next.
View the summary information and click Finish.
The wizard modifies the EJB, as follows:
Adds XDoclet annotations, which link the EJB to the RA configuration JNI
Alters the create method by adding the link to the configured connection factory
Adds a connect method that connects to the selected data base with the selected options
Adds the disconnect method
To use the DMS resource adapter in a non-WTP Java project, do the following:
In the Eclipse window, select the project.
Specify the package or create a new one and click Next.
Specify the connection and configuration and click Next.
Specify the credentials and click Next.
Specify Data Manager information and click Next.
View the summary information and click Finish.
Refer to the Network Database Server Resource Adapter for the Java Platform User Guide on the Unisys Product Support Web site at www.support.unisys.com.