Skip to main content

Techdocs Library > Presentations & Tools >

ZJBATCH Liberty Java Batch Workshop

Document Author:
Additional Author(s):

David Follis
David Follis

Document ID:


Doc. Organization:

IBM Cloud

Document Revised:


Product(s) covered:

WebSphere Application Server; WebSphere Application Server for z/OS; WebSphere Application Server ND; z/OS

Abstract: WebSphere Liberty Java Batch is IBM's cross-platform offering that implements the JSR-352 open standard as well as providing enhanced operational functions around the open standard. The material provided here is what we use for a hands-on "ZJBATCH" workshop.

Overview of the Workshop Design

    Java Batch is a topic where the audience for a workshop consists of two types of people -- (1) Java developers who are interested in understanding the programming considerations; and (2) runtime operations and support people who would be responsible for creating and maintaining the Java batch environment. This workshop is generally aimed at the second group -- runtime operations and support -- though we do have a unit on JSR-352 concepts.

    For more on IBM's Java Batch offering in general, see:

Unit 1 -- Introduction and Overview

Unit 2 -- Liberty, Server Creation and Setup

Unit 3 -- JSR-352 Concepts
    To this point in the workshop we've only briefly touched on what "JSR-352" really is. In this unit we take a closer look at the Java Batch standard. We touch lightly on the programming elements of the standard, and then we take a look at how a job flow is composed using the IBM WebSphere Development Tool (WDT) plugin to Eclipse. The output of this tool is the "Job Specification Language" (JSL) file, which is what the Java Batch environment uses to understand and run the Java Batch job.

    Unit 3 - JSR-352 Concepts - CHARTS.pdfUnit 3 - JSR-352 Concepts - CHARTS.pdf
    Unit 3 - JSR-352 Concepts - NOTES.pdfUnit 3 - JSR-352 Concepts - NOTES.pdf

Unit 4 -- Job Submission and Control
    The JSR-352 standard has information on the job submission programming interface (the "JobOperator"), but that's all. It does not define how a real operational job submission and control function can or should be provided. This is where IBM has provided operational enhancements to the JSR-352 standard -- without affecting the programming standard itself. In this unit of the workshop we cover what those operational enhancements are and how they work.

    Unit 4 - Job Submission and Control - CHARTS.pdfUnit 4 - Job Submission and Control - CHARTS.pdf
    Unit 4 - Job Submission and Control - NOTES.pdfUnit 4 - Job Submission and Control - NOTES.pdf
Unit 5 -- Multi-JVM Configuration
    A key operational enhancement IBM provides is the ability to separate the job submission function from the job execution function and run them in separate JVM environments. This provides a considerable degree of flexibility in terms of topology design and controlling where jobs get executed. In this unit we cover how this multi-JVM configuration works and how to use it.

Unit 6 -- Security
    To this point in the workshop we did our best to hide the security details from you, either by using "basic" security in Liberty, or by providing a canned job to set up the security profiles required. In this unit we dig deeper into the topic of security and provide an understanding of how to more properly secure the environment.

    Unit 6 - Java Batch Security - CHARTS.pdfUnit 6 - Java Batch Security - CHARTS.pdf
    Unit 6 - Java Batch Security - NOTES.pdfUnit 6 - Java Batch Security - NOTES.pdf
Lab Instructions and Command File
Lab Artifacts Document
    The labs for this workshop rely on a number of pre-built JCL jobs and pre-configured server.xml files. The following document details the artifacts used in these labs.

    ZJBATCH Lab Artifacts.pdfZJBATCH Lab Artifacts.pdf
Sample Applications Used in Labs

    The ZIP file below contains the sample applications used in the lab exercises. The application WAR files contain the Java source.

    Disclaimer: these applications are offered "as is" without any warranty, implied or expressed. They are intended as samples only.





Planning and Design


Cross-Platform; IBM Power Systems; IBM System i; IBM System p Family; IBM System z Family

S/W Pillar(s):



AIX; Linux; Windows; z/OS


WebSphere Liberty Java Batch JSR-352 JSR352 JSR 352 ZJBATCH

The Techdocs Library
Is this your first visit to Techdocs (the Technical Sales Library)?

Learn more

Techdocs QuickSearch