uCosminexus Application Server, EJB Container Functionality Guide

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

3.3.3 Using the vbj command

This subsection describes the flow of starting an EJB client application using the vbj command. If you use a batch file or shell script file to execute an EJB client application, you can describe the following contents in the batch file or shell script file:

  1. Specify the environment variables required for executing an EJB client application.
    Among all the environment variables required for executing the EJB client application, specify only the environment variables that are required while executing the EJB client application with the vbj command. For details on the required environment variables, see 3.3.4 Specifying the environment variables required for executing an EJB client application.
  2. Specify the JavaVM startup options.
    Specify the appropriate JavaVM startup options in the vbj command. For details on the options that can be specified, see 16. JavaVM Startup Options in the uCosminexus Application Server Definition Reference Guide.
  3. Specify the class path of the JAR files.
    Specify the appropriate class paths in the vbj command. For details on the required class paths, see 3.7.4 Specifying JAR files in the class path of the EJB client application.
  4. Specify the properties.
    For details on the contents that can be specified in properties, see 3.3.5 Specifying the property of an EJB client application. If necessary, also see 3.8 System log output of an EJB client application, 3.5.3 Precautions during the implementation of a transaction in the EJB client application, and 9.11 Implementing and setting up the user log output for EJB client applications (when using the vbj command) in the uCosminexus Application Server Expansion Guide.
    For details on the properties that can be specified, see 14.3 usrconf.properties (User property file for Java applications) in the uCosminexus Application Server Definition Reference Guide.
  5. Use the vbj command to start the EJB client application.
    Note
    When you use uCosminexus Client to create the EJB client environment, replace Cosminexus-installation-directory\CC in the storage directory with Cosminexus-installation-directory\CCL.