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

1.3 What the J Adapter Class Generator Cannot Do

The J adapter class generator cannot perform the following types of operation:

Inheriting a Java class

A COBOL class inheriting a Java class cannot be defined. Even if a COBOL class inherits an adapter class, the Java class function cannot be overwritten.

Passing a COBOL object as a parameter

No COBOL object can be passed as a parameter for invoking a method, nor can a COBOL object be set for a Java field. Only an adapter object produced by wrapping a Java object can be passed to Java.

Therefore, the following restrictions apply to COBOL:

Invoking COBOL from Java

No COBOL program can be invoked from Java. A COBOL program invoked from Java can use no adapter class.