Previous Topic Next topic Print topic


COBOL for Java Virtual Machine (JVM) Support

In this release you can compile COBOL applications to JVM byte code (.class files) so that they can be run on a JVM. There is support in the IDE to edit, compile and debug JVM COBOL applications. This release includes Managed COBOL - COBOL with extensions to support the JVM framework plus OO syntax support.

Features include support for
  • New managed COBOL syntax:
    • The SYNC statement, which marks a statement block as a critical section by obtaining the mutual-exclusion lock for a given object, executing a block of statements, and then releasing the lock.
    • Extension methods, enabling you to extend an existing class with new methods without the need to recompile the existing class
    • Java style inner classes, which define a nested class within another class. These follow all the methods belonging to the containing class.
    • The STATIC keyword, enabling you to mark methods and data as static.
    • Enumerators, which represent a list of constant values. You can declare an enum type that defines the values and symbolic names for them, and refer to the values by name in your code.
  • Seamless interoperation between JVM COBOL and native COBOL
  • The ability to add Java projects to the classpath for COBOL JVM projects, and COBOL JVM projects to the classpath for Java projects
  • Red Hat, AIX and SUSE platforms
Previous Topic Next topic Print topic