IBM Support

ZJBATCH Liberty Java Batch Workshop

Download


Downloadable File

File link File size File description

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 was used in the past for a hands-on "ZJBATCH" workshop. This workshop is no longer offered.

Download Description

 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:

  WP102544 

 Unit 1 -- Introduction and Overview 

It's important to start a workshop with a level-setting unit where we can establish a baseline of understanding and get everyone on "the same page" regarding concepts and terminology. This first unit is designed to do that in a relatively short period of time.

Unit 1 - Introduction and Overview - CHARTS.pdf
Unit 1 - Introduction and Overview - CHARTS.pdf

Unit 1 - Introduction and Overview - NOTES.pdf
Unit 1 - Introduction and Overview - NOTES.pdf

 Unit 2 -- Liberty, Server Creation and Setup 

WebSphere Liberty Java Batch is a function provided with IBM Liberty, a Java runtime server. To understand how the JSR-352 function operates within this runtime environment, we must first establish what Liberty is and how it works. Then we cover the basics of setting up the Java Batch environment to perform the "initial verification test" (IVT) of the Java Batch environment.

Unit 2 - Liberty, Server Creation and Setup - CHARTS.pdf
Unit 2 - Liberty, Server Creation and Setup - CHARTS.pdf

Unit 2 - Liberty, Server Creation and Setup - NOTES.pdf
Unit 2 - Liberty, Server Creation and Setup - NOTES.pdf

 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.pdf
Unit 3 - JSR-352 Concepts - CHARTS.pdf

Unit 3 - JSR-352 Concepts - NOTES.pdf
Unit 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.pdf
Unit 4 - Job Submission and Control - CHARTS.pdf

Unit 4 - Job Submission and Control - NOTES.pdf
Unit 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 5 - Multi-JVM Configuration - CHARTS.pdf
Unit 5 - Multi-JVM Configuration - CHARTS.pdf

Unit 5 - Multi-JVM Configuration - NOTES.pdf
Unit 5 - Multi-JVM Configuration - NOTES.pdf

 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.pdf
Unit 6 - Java Batch Security - CHARTS.pdf

Unit 6 - Java Batch Security - NOTES.pdf
Unit 6 - Java Batch Security - NOTES.pdf

 Lab Instructions and Command File 

The lab instructions for this workshop is attached here. In addition, the commands to be entered are provided in a text file. This was done to minimize typing.

ZJBATCH Lab Instructions.pdf
ZJBATCH Lab Instructions.pdf

ZJBATCH Lab Commands.txt
ZJBATCH Lab Commands.txt

 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.pdf
ZJBATCH 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.

ZJBATCH Apps.zip
ZJBATCH Apps.zip

Off

Document Location

Worldwide

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"ARM Category":[],"Platform":[{"code":"z\/OS","label":"Platform Independent"}],"Version":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"ARM Category":[],"Platform":[{"code":",z\/OS","label":"Platform Independent"}],"Version":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SWG90","label":"z\/OS"},"ARM Category":[],"Platform":[{"code":"z\/OS","label":"Platform Independent"}],"Version":"","Line of Business":{"code":"LOB56","label":"Z HW"}}]

Document Information

Modified date:
03 May 2021

UID

PRS5365