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

2.2 Adapter Object

At execution time, an adapter class generates the adapter object corresponding to a Java instance object. The adapter object:

Only the adapter object can be seen from the COBOL program. Every operation on the adapter object is transmitted to the corresponding Java object. To the COBOL program, the adapter object seems as if it were a Java object. The adapter object, since it works for the Java object, is also called a proxy object. The relationship between the Java object and adapter object is shown below:

Figure 2.2 Java object and adapter object