Fujitsu J Adapter Class Generator Portable Generator User Manual


 
14 Chapter 2. Adapter Class Generator Framework
Adapter Class
To make Java classes available to COBOL, a mechanism for converting the Java class
interface into the COBOL interface is required. The J adapter class generator works
as an interface converting mechanism to generate adapter classes corresponding to
Java classes. To use a Java class from a COBOL program, the adapter class created
by the generator can be called. The adapter class is written in COBOL and therefore
can be called in the same manner as a COBOL class.
The relationship between the Java class/interface and adapter class is shown below:
Figure 2.1: Java class/interface and adapter class