uCosminexus Application Server, Application Development Guide

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

9.5 Creating batch applications

Create the batch applications in the Java project where the Cosminexus batch library is added. For details on the precautions to be taken for creating batch applications, see 2.3.11 Notes on creating batch applications in the manual uCosminexus Application Server Expansion Guide.

Also, as with J2EE applications, when you use an external library, you must add a build path (a class path that acts as an option during compilation). The following description uses the addition of ejbserver.jar to describe how to add a build path.

  1. In Java EE perspective - Project Explorer view, select a Java project in which the batch application is developed.
  2. From the Eclipse menu bar, select Project - Properties.
    Properties: project-name dialog box appears.
  3. In the left pane of the Properties: project-name dialog box, select Java Build Path.
    The Java Build Path page appears.

    [Figure]

  4. Select the Libraries tab, click the Add External JARs button, and then select the following library:
    Developer-installation-directory\CC\lib\ejbserver.jar
  5. In the Properties: project-name dialog box, click the OK button.
    The build path will be added.
    You can also use the same procedure to add other build paths.

To add a library in the class path of the batch server, use the management portal or the Smart Composer functionality to specify settings for the container extension library. To use the management portal, see 10.9.2. J2EE container settings in the manual uCosminexus Application Server Management Portal Operation Guide. To use the Smart Composer functionality, see 14. Container Extension Library in the uCosminexus Application Server Common Container Functionality Guide.