uCosminexus Application Server, Application Setup Guide

[Contents][Index][Back][Next]

1.2.4 Setup for J2EE resources other than resource adapters

This subsection describes the setup for J2EE resources other than resource adapters.

Organization of this subsection
(1) Types of J2EE resources other than resource adapters
(2) Flow of J2EE resource management
(3) Setup for J2EE resources

(1) Types of J2EE resources other than resource adapters

The types of J2EE resources other than resource adapters to be managed in the setup are as follows:

(2) Flow of J2EE resource management

The basic flow of J2EE resource management is as follows:

  1. Importing J2EE resources
  2. Defining J2EE resource properties
  3. Testing J2EE resources for connectivity
  4. Starting and stopping J2EE resources

In the management of J2EE resources using the server management commands, the required settings and operating methods depend on the types of J2EE resources.

The following table describes the operations required in each procedure, for each J2EE resource type. Execute the operations in the order of the numbers mentioned in the Procedures column.

Table 1-4 Operations required during J2EE resource management

Procedures JavaBeans Resources Mail
Configuration
1. Importing J2EE resources Y --
2. Defining J2EE resource properties Y Y#
3. Testing J2EE resources for connectivity -- Y
4. Starting and stopping J2EE resources Y --

Legend:
Y: Yes
--: Not applicable

#
Defining the mail configuration properties includes the creation of a new mail configuration.

The description of each procedure is as follows:

Importing J2EE resources

Import the JavaBeans resources.

Defining J2EE resource properties

Define the information required for managing JavaBeans resources and the mail configuration.

Testing J2EE resources for connectivity

Confirm that the mail configuration is running correctly.

Starting and stopping J2EE resources

Start JavaBeans resources for which the setup is complete. Furthermore, stop JavaBeans resources according to the operations.

(3) Setup for J2EE resources

The following table describes the functions for the setup to be used in the J2EE resource management:

Table 1-5 Setup used in J2EE resource management

Operations in J2EE resource management Functions Commands
Import J2EE resources Imports JavaBeans resources into the J2EE server. cjimportjb
Define J2EE resource properties Obtains the HITACHI JavaBeans Resource Properties and generates the property file. cjgetjbprop
Changes the property values of the JavaBeans resources to the values specified in the property file. cjsetjbprop
Obtains the properties of the resources included in the mail and generates the property file. cjgetresprop (-type mail specified)
Changes the property values of the resources included in the mail to the values specified in the property file. cjsetresprop (-type mail specified)
Test J2EE resources for connectivity Executes the connectivity test for mails. cjtestres (-type mail specified)
Start and stop J2EE resources Start JavaBeans resources. cjstartjb
Stops JavaBeans resources. cjstopjb
Display the list of resources Displays the list of imported JavaBeans resources. cjlistjb
Displays the list of imported mails. cjlistres (-type mail specified)
Delete the resources Deletes JavaBeans resources. cjdeletejb
Deletes mails. cjdeleteres (-type mail specified)
Other operations Copies the mail property. cjcopyres (-type mail specified)