In addition to the code samples, source files, and Sun’s SDK, there are other folders on the CD-ROM that hold one or more executable program files that will install various programs. Descriptions of the contents of each folder and instructions for their use follow.
The CD-ROM contains all the code samples in the book organized by chapter. You can and should use these samples as reference materials as you perform the exercises, but I wouldn’t recommend just copying and compiling them. You will get more out of the exercises if you follow the step-by-step instructions in the book. No pain, no gain.
Java 2 SDK Version 1.6
Sun Microsystems, Inc.
The Sun SDK Version 1.6 is necessary to fully utilize this book. You may either download the SDK from Sun’s Web site or install the SDK using this CD-ROM. Run the executable in the Java JDK folder to install the SDK. You may place the SDK in any directory. The default is C:Program FilesJavajdk1.6.0_03.
PERCOBOL Compiler
LegacyJ
This is an evaluation version of LegacyJ’s PERCOBOL compiler, a Java/COBOL integration product. Using PERCOBOL, developers can write code in COBOL and deploy in Java. In addition to the PERCOBOL demo, LegacyJ has included both COBOL and Java sample programs for you to review.
To install this program, run the program setupwin.exe in the LegacyJ directory. Review and answer the license information, then select a directory for loading the software.
This evaluation demonstration version can only be used from the command line; for example, you can run the PERCOBOL conversion program by typing percobol in the command window. This information and demonstration software are updated periodically.
Eclipse Open Source IDE
Eclipse Foundation Inc.
Eclipse is a popular, robust, open source GUI development environment for Java. The CD-ROM contains the Windows installation program in the Eclipse directory.
Open Source Web server
Apache Software Foundation
Tomcat is a robust, open source Web server that implements the latest Java Servlet and Java Server Pages technologies. Tomcat is often used by Java developers for both their development work and in production. The CD-ROM contains the Windows installation program in the Tomcat directory.
CORECT
SoftwareMining, Ltd.
This is another COBOL-to-Java conversion tool. To install this program, run the program sm-corect-v81-setup in the Corect directory.
SoftwareMining can assist with these larger COBOL-to-Java projects by providing a two-step modernization approach:
Step 1: Translation of COBOL code to maintainable Java code. The new code is legible to both the retrained COBOL programmers and to any new Java programmers joining the team. Testing of the new system is undertaken by comparing the results produced by the Java system to that produced by the original COBOL system. SoftwareMining also assists with data-migration activities to achieve migration of all test and production data.
Step 2: Having successfully translated and tested the new Java application, developers can then start any smaller enhancements. These typically include the following: screen redesigns, application of service-oriented architecture, refactoring, and moving code between different classes.
SoftwareMining’s Automated Translation route provides substantial benefits:
The translated system adheres to high programming standards allowing future maintenance and enhancements in Java
The project implementation requires only a small team, reduces the margin for error, and enables completion within budget
The following document outlines the technical architecture of the generated code: www.softwaremining.com/download/SM-TechnicalOverview.pdf.
A major Canadian bank recently used the CORECT Toolkit to translate their IBM/Unisys COBOL application to Java. A manual rewrite would have achieved translation of one program per month. SoftwareMining’s Automatic Translation achieved one translated/tested program per day, making it 20 times faster than the manual rewrite with significantly reduced project risks.
In another project, a U.S. state tax office migrated their IBM COBOL application to Java in order to bring the system up to date with new technology and to reduce maintenance costs. A systems integrator used SoftwareMining’s CORECT Tool to translate the COBOL application used by 250 people. On completion of the testing phase, a second enhancement phase was started to redesign screens, apply service-oriented architecture, and make functional enhancements. The translation of the 5 million lines involved only eight Java developers and testers and four users performing user acceptance testing. The project was successfully completed and delivered within 14 months.
For further information please visit www.softwaremining.com.