Driven by the year-2000 problem, the hordes of COBOL developers experienced a renaissance, but the times when COBOL was state-of-the-art are long gone. Object-orientation, application servers, web front-ends, and relational database systems dominate the scene for new projects today. The fact remains however, that millions of lines of source code written in the structured programming language COBOL work daily on computer systems all over the world. One problem that COBOL developers have to deal with on these new projects is familiarity with object-oriented concepts. Markus Knasmüller, rich with experiences of OO projects in COBOL development teams, offers a successful introduction for the experienced COBOL programmer. A careful approach across techniques familiar to COBOL developers and discussions of current standards make this book easily accessible and understandable. *A practical approach to OOP using the concepts and techniques familiar to the experienced COBOL programmer. *Written independently from any specific programming environment, and all programming examples written in both Delphi and Java. *Detailed case study describing the successful migration of 10 million lines of COBOL code to object-oriented programming. *Companion CD-ROM containing all tutorial sections of the book in PowerPoint and all sample solutions to the problems ready for compilation.
Inhaltsverzeichnis
1;Front Cover;1 2;From COBOL to OOP;4 3;Copyright Page;5 4;Contents;10 5;Chapter 1. Introduction;16 5.1;1.1 Motivation;16 5.2;1.2 Advantages of the New Technologies;19 5.3;1.3 Organization of This Book;20 5.4;1.4 Selecting a Programming Environment;23 5.5;1.5 Object-Oriented COBOL;24 5.6;1.6 Notation and Conventions;25 5.7;1.7 The Book CD;26 5.8;1.8 A Real-World Example;26 6;Chapter 2. Programming as an Engineering Discipline;28 6.1;2.1 Software Engineering Basics;29 6.2;2.2 Readability of a Program;31 6.3;2.3 Program Structure;34 6.4;2.4 Stepwise Refinement;38 7;Chapter 3. Basics;44 7.1;3.1 Replacement for the Data Division: Symbols and Data Types;45 7.2;3.2 Replacement for the Procedure Division: Instructions;54 7.3;3.3 Procedures;64 7.4;3.4 Arrays, Strings, Records;78 7.5;3.5 Language Particularities;99 7.6;3.6 Modules;105 7.7;3.7 Pointers: Introduction;112 8;Chapter 4. Data Structures and Algorithms;122 8.1;4.1 Abstract Data Types;122 8.2;4.2 Dynamic Data Structures in Detail;131 8.3;4.3 Trees;139 8.4;4.4 Algorithms;150 9;Chapter 5. True Object-Oriented Programming;160 9.1;5.1 Classes;160 9.2;5.2 Inheritance and Dynamic Binding;169 9.3;5.3 Typical Applications of Object-Oriented Programming;182 9.4;5.4 Class Libraries;192 9.5;5.5 Particularities of the Selected Programming Languages;200 10;Chapter 6. Object-Oriented Design;216 10.1;6.1 Object-Oriented Design and UML;216 10.2;6.2 Design Patterns and Components;224 11;Chapter 7. Databases;232 11.1;7.1 Introduction and Differences from COBOL IS Files;232 11.2;7.2 Data Modeling;245 11.3;7.3 Introduction to SQL;256 11.4;7.4 SQL: Program Access;269 12;Chapter 8. Graphical User Interfaces;280 12.1;8.1 Structure of a Graphical User Interface;280 12.2;8.2 Event-Oriented Programming;283 12.3;8.3 Short Overview of Class Libraries;285 12.4;8.4 Tips for Designing a User Interface;293 12.5;8.5 Online Applications;294 13;Chapter 9. COBOL to OOP in Practice;296 13.1;9.1 Summary;296 13.2;9.2 Changing to OOP in Practice;298 13.3;
9.3 Career Switch to OOP in Practice;300 13.4;9.4 Accompanying Activities;305 13.5;9.5 Stick to COBOL All the Same?;308 13.6;9.6 One Last Word;309 14;Appendix A. Using the Development Environments;310 14.1;A.1 Delphi;310 14.2;A.2 Java;312 15;Appendix B. Sample Solutions;314 15.1;B.1 Solutions to Chapter 3;314 15.2;B.2 Solutions to Chapter 4;322 15.3;B.3 Solutions to Chapter 5;328 15.4;B.4 Solutions to Chapter 6;332 15.5;B.5 Solutions to Chapter 7;333 16;Appendix C. Glossary;338 17;Appendix D. References;344 18;Index;348 19;Limited Warranty;361