Java developers

To do What

Can easily write and deploy Java applications that make use of services that are unique to z/OS.

Why is it important

We are providing a set of helper classes called the JZOS toolkit. This API toolkit helps Java developers make use of unique mainframe services right inside their Java applications. services like: accessing traditional mainframe data sets, submitting jobs, communicating with the system console, interop with COBOL or Assembler transaction data.

This guide will go through some examples and highlight some of the steps that are needed to deploy Java applications on the mainframe.

Real-life scenario – User Story

As a Java developer for an insurance company, I am tasked with creating a batch processing application that read, write, and maintain a list of claims using z/OS mainframe system and storage.

2 comments on"JZOS APIs"

  1. Harold Barnes November 03, 2017

    I’m looking for information on how to call a stand-alone java application running on z/OS from a batch HLASM program running on z/OS. I’m familiar with the use of CEEPIPI and using it to call C programs from HLASM. Is there something similar for Java? Do I need to write a C==>Java interface that can be called using CEEPIPI?

  2. Hi Harold,
    I don’t know a lot on the HLASM side but I believe you’re going the correct route of HLASM->C->Java. For the C to Java invocation, you’ll want to use JNI (Java Native Interface) calls to cross the language boundary between C and Java.

    Since it’s a batch application, you should be ok starting the JVM from your C layer since it probably only needs to live for the duration of the batch job versus being persistent.


Join The Discussion

Your email address will not be published. Required fields are marked *