
Chapter 2. Java on z/OS - The basics 13
Recommendations
We highly recommend to “package” your Java batch programs inside JCL, which
is the case with BPXBATCH, BPXBATSL and JZOS, especially in a production
environment. The reasons for this are:
It allows you to treat this work as regular batch work, including the way it is
scheduled by JES2. You will also implicitly benefit from your existing job
scheduling tools.
It allows you to set up a proper batch security environment.
It makes it easier to get guaranteed CPU resources via WLM and memory
(heap) for its JVM.
You can direct your output to the spool for further handling or archiving. This ...