uCosminexus Application Server, Application Setup Guide
![[Contents]](FIGURE/CONTENT.GIF)
![[Index]](FIGURE/INDEX.GIF)
![[Back]](FIGURE/FRONT.GIF)
(1) Attribute file to be edited
- Session Bean attribute file
- Entity Bean attribute file
- Message-driven Bean attribute file
(2) Acquiring the attribute file to be edited and setting the attributes
Acquiring the attribute file
Execute the following command to acquire an Enterprise Bean attribute file that is to be edited:
- Execution format
cjgetappprop [server-name] [-nameserver provider-URL] -name J2EE application-name -type ejb -resname EJB-JAR-display-name/Enterprise-Bean-display-name -c path-of-the-Enterprise-Bean-attribute-file#
|
- #
- Specify the path of an attribute file that is to be edited in the path of the Enterprise Bean attribute file.
- Example of execution
cjgetappprop MyServer -name account_eb -type ejb -resname account/account -c C: \home\MyAccount.xml
Setting the attributes
Execute the following command to apply the values of the edited Enterprise Bean attribute file:
- Execution format
cjsetappprop [server-name] [-nameserver provider-URL] -name J2EE application-name -type ejb -resname EJB-JAR-display-name/Enterprise-Bean-display-name -c path-of-the-Enterprise-Bean-attribute-file#
|
- #
- In the path of the Enterprise Bean attribute file, specify the path of the attribute file in which the values are to be applied.
- Example of execution
cjsetappprop MyServer -name account -type ejb -resname account/account_eb -c C: \home\MyAccount.xml
(3) Attribute settings to be edited
The following table describes the invocation order settings for the Enterprise Bean:
| Item |
Mandatory |
Corresponding tag |
| Start and stop order# |
O |
<start-order> |
- Legend:
- O: Optional
- #
- The smaller the value, the earlier the application will start and larger the value, the earlier the application will stop. Note that if you specify the same value for the Enterprise Beans, the invocation order between the beans may not be as desired.
For property settings, reference the following subsections:
- 3.4.1 Contents of the Session Bean property file in the uCosminexus Application Server Application and Resource Definition Reference Guide
- 3.5.1 Contents of the Entity Bean property file in the uCosminexus Application Server Application and Resource Definition Reference Guide
- 3.6.1 Contents of the MessageDrivenBean file in the uCosminexus Application Server Application and Resource Definition Reference Guide
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.