Figure 9.4. Architecture for legacy application reengineering and reuse from Java.
In order to try out the code in this section and complete the exercise that
accompanies it, a COBOL compiler and runtime environment are needed. The COBOL
programs in this section, and in the solution to the exercise which accompanies it, were
written, compiled, and run using a student version of Micro Focus Net Express . At
the time of this writing, no reasonably functional open source COBOL compiler was
available that could compile, link, and run even the most simple COBOL program given
in this section; this may have to do with the fact that COBOL remains a very lucrative
enterprise for many businesses, so there is little interest in giving away implementations
to the open source community. For example, the COBOL for GCC project has not made
significant progress yet on the code generation part of the compiler . When and if an
open source COBOL compiler gets off the ground, it will be interesting to see what
features of the commercial COBOL compilers are implemented.