uCosminexus Application Server, Application Setup Guide
Define the HITACHI JavaBeans Resource Properties.
For an overview of property setting procedures, see 3.5 Property settings using the property file. This subsection describes the definition of the following HITACHI JavaBeans Resource Properties:
HITACHI JavaBeans Resource Property File
Execute the following command to acquire a HITACHI JavaBeans Resource Property File:
cjgetjbprop [server-name] [-nameserver provider-URL] -resname display-name-of-JavaBeans-resource -c path-of-the-hitachi-JavaBeans-resource-property-file |
cjgetjbprop MyServer -resname MyJavaBeansName -c MyJavaBeansProp.xml
You execute the following command to apply the values of the HITACHI JavaBeans Resource Property File:
cjsetjbprop [server-name] [-nameserver provider-URL] -resname display-name-of-JavaBeans-resource -c path-of-the-hitachi-JavaBeans-resource-property-file |
cjsetjbprop MyServer -resname MyJavaBeansName -c MyJavaBeansProp.xml
The property settings for the JavaBeans resources are as follows:
The following table describes the settings for the runtime properties (<property> tag) of the JavaBeans resources:
| Item | Corresponding tags |
|---|---|
| Property name | <property-name> |
| Property data type | <property-type> |
| Property value | <property-value> |
Repeat the above settings for all the properties to be defined.
You specify the method names of the set method and get method of the JavaBeans resources in the settings of the property name (<property-name>). For details on the settings of the property name (<property-name>), see 4.1.13 Properties that can be specified in the <property> tag in the uCosminexus Application Server Application and Resource Definition Reference Guide.
Specify the optional name (<optional-name>) in the optional name information (<resource-env-external-property> tag) of JavaBeans resources.
For details on how to use the optional names of JavaBeans resources, see 6.5 Referencing and changing the J2EE resource names registered in the JNDI name space.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.