Creating a Java batch job with the Batch Job wizard

You can use the Batch Job wizard in your WebSphere® Application Server Developer Tools for Eclipse environment to create a Java™ batch job. You can run computationally intensive applications or transactional applications with your job.

Before you begin

Complete the following tasks:
  • Install the Java batch feature for WebSphere Application Server Developer Tools for Eclipse. This feature is an optional. You can install it from Help > Install WebSphere Software.
  • Create a Java batch project.

Procedure

  1. In the Enterprise Explorer view, select your Java batch project.

    When the New Batch Job wizard displays in the next step, the Batch Project field is pre-populated with the name of your Java batch project.

  2. In the Enterprise Explorer view, select File > New > Other > Java EE Batch > Batch Job.

    The New Batch Job wizard displays.

  3. In the Job Name field, type the name of the batch job.
  4. If you want to allow this job to be restarted when it is running, then leave Restartable selected; otherwise, clear Restartable.
  5. Click Finish.

    An xml file with the same name as the batch job displays in the Job Specification Language (JSL) editor.

  6. Populate your Java batch job with Java batch artifacts.

    Choose one or more of the following scenarios to add Java batch artifacts to your Java batch job.

Results

You created a batch job that contains steps such as batchlet steps and chunk steps so that you can run computationally intensive applications or transactional applications.

Feedback