Top
NetCOBOL V11.0 J Adapter Class GeneratorUser's Guide
FUJITSU Software

1.1 What is the J Adapter Class Generator?

Taking advantage of the object-oriented function, NetCOBOL enables programming using class libraries. The NetCOBOL also provides many useful foundation classes. Meantime, as Java becomes popular, many Java class libraries are also provided. However, the class structure varies from language to language and therefore Java class libraries cannot normally be used from COBOL.

The J adapter class generator provides a framework that enables COBOL to use Java classes.

The J adapter class generator enables a COBOL program to:

The J adapter class generator enables COBOL to be used for systems that previously could only have been implemented in Java.

Use of the J adapter class generator is recommended in the following situations:

An outline of the J adapter class generator is given below:

The Java class interface must be converted into the COBOL interface for a COBOL program to use Java classes. The J adapter class generator generates an adapter class that converts the Java interface into the COBOL interface.