How CICS creates JVMs

A JVM is created by the CICS® launcher program for JVMs. Persistent Reusable Java™ Virtual Machine User's Guide, SC34-6201, explains what a launcher program does. CICS requests storage from MVS™, sets up a Language Environment® enclave for the JVM, and launches the JVM in the Language Environment enclave.

CICS creates JVMs in response to requests to run a Java program. JVMs are created to fit the needs of a particular Java program. You specify the program's needs using the PROGRAM resource definition, just as you would for a non-Java program. (The CICS Resource Definition Guide has full details about the PROGRAM resource definition.) Requests to run a Java program can be made in various ways; How CICS locates the PROGRAM resource definition to create a JVM explains how CICS finds the PROGRAM resource definition in each case.

To create a JVM for a Java program, CICS needs to obtain the following information from the PROGRAM resource definition:

Enabling applications to use a JVM tells you how to specify all these items using the PROGRAM resource definition for the Java program. Note that CORBA stateless objects and enterprise beans do not have a PROGRAM resource definition as such. The PROGRAM resource definition that is relevant to CORBA stateless objects and enterprise beans is that for the request processor program.