Hitachi

uCosminexus Application Server Application Setup Guide


1.2.3 Setup for resource adapters included in J2EE applications

This subsection describes the setup of resource adapters included in J2EE applications.

Organization of this subsection

(1) Types of resource adapters

The types of resource adapters to be used by including in J2EE applications, and managed in the setup are as follows:

(2) Flow of the resource adapter management

The basic flow for managing resource adapters included in J2EE applications is as follows:

  1. Adding resource adapters to J2EE applications

  2. Defining the properties of resource adapters included in J2EE applications

  3. Testing the resource adapters included in J2EE applications for connectivity

  4. Starting and stopping J2EE applications

  5. Exporting J2EE applications

The description of each procedure is as follows:

(3) Setup for resource adapters

The following table describes the functions of setup to be used in the management of resource adapters included in J2EE applications:

Table 1‒3: Setup used in the management of resource adapters included in J2EE applications

Operations in J2EE resource management

Functions

Commands

Import resource adapters

Imports resource adapters into the J2EE server.

cjimportres (-type rar specified)

Add resource adapters to J2EE applications

Adds resource adapters to the J2EE application.

cjaddapp (-type rar specified)

Import J2EE applications

Imports J2EE applications including resource adapters.

cjimportapp

Define the resource adapter properties

Obtains properties of the resource adapters included in the J2EE applications and generates a property file.

cjgetappprop (-type rar specified)

Changes the property values of the resource adapters included in J2EE applications to the values specified in the property file.

cjsetappprop (-type rar specified)

Test resource adapters for connectivity

Executes the connectivity test for the resource adapters included in J2EE applications.

cjtestres (-name [Application name] -type rar specified)

Start and stop J2EE applications

Starts the J2EE application. When the J2EE application starts, all the resource adapters included in the J2EE application start. You cannot start the resource adapters individually.

cjstartapp

Stops the running J2EE application. When the J2EE application stops, all the resource adapters included in the J2EE application will stop. You cannot stop the resource adapters individually.

cjstopapp

Export J2EE applications

Includes resource adapters in J2EE applications and exports the resource adapters.

cjexportapp

Delete resource adapters from J2EE applications

Deletes resource adapters of J2EE resources from the J2EE applications.

cjdeleteapp (-type rar specified)

Display the list of resources

Displays the list of resource adapters included in J2EE applications.

cjlistapp (-type rar specified)

Other operations

Displays the connection pool status of the resource adapters included in J2EE applications.

cjlistpool (-name [Application name] specified)

Deletes connections from the connection pools of the resource adapters included in J2EE applications.

cjclearpool (-name [Application name] specified)