86 Java Stand-alone Applications on z/OS Volume II
6.1 Introducing the Java Native Interface (JNI)
SDK V5 offers many different APIs to interact with various system resources.
However, there are still situations in which an application cannot be written
entirely in Java. For such applications, the Java Native Interface (JNI) might
provide a solution. Basically, JNI can be used in two ways:
It can be used to invoke native functions from your Java application.
Or you can call Java methods from your native application.
JNI was originally designed to be used in combination with C/C++, but you can
also achieve interlanguage interoperability with Java through COBOL. This
function is part of Enterprise COBOL for z/OS V3R4. This method is fairly new ...