2.12.1 Implementing batch applications (Migrating from Java applications)
This section describes the changes required in Java applications for migrating the Java applications to batch applications.
You must migrate the Java applications in the following cases:
-
If you are implementing a process that corresponds to the points to be considered when using batch applications
You must consider the operations of files and directories while implementing with the batch applications.
- How to migrate
-
The processes of batch applications that require attention are described in 2.3.11(1) Processes that require attention. Reference these contents, and modify Java application.
-
If you are implementing a functionality that cannot be used with batch applications
You cannot use many functionality with batch applications. For example, you cannot input from the standard input format or use JNI.
- How to migrate
-
For the functionality that cannot be used with batch applications and the alternative methods for using the functionality, see 2.3.11(2) Functionality that you cannot implement in batch applications. Reference these contents, and modify Java applications.
-
If the unsupported properties are defined in usrconf.properties (user property file for batch applications)
With batch applications, you can continue to use the usrconf.properties file (user property file for Java applications) that you use with the Java applications that are migrated.
However, in the usrconf.properties file (user property file for Java applications), if you have defined the properties that are not supported with usrconf.properties (user property file for batch applications)# and you are referencing the values from the batch applications, you must modify the applications.
- How to migrate
-
Modify the batch application in such a way so that you do not reference the properties that are not supported by usrconf.properties (user property file for batch applications).
- #
-
This excludes the user-defined property. For details on the properties supported by usrconf.properties (user property file for batch applications), see 3.2.6 usrconf.properties (User property file for batch applications) in the uCosminexus Application Server Definition Reference Guide.