Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
OO COBOL Application Development Danny Maijer Kees Tieleman Sogeti Netherlands World Trade Centre, Amsterdam 20 April 2006 Agenda • Benefits of OO COBOL in .Net • Learning curve OO COBOL in .Net • Application Development Framework (ADF) • Personal experience with ADF > By Kees Tieleman Benefits of OO Cobol in .Net • No need to transform COBOL to another programming language • All business logic remains intact • OO concepts can be adopted easily • Programming languages can be mixed Learning curve to .Net COBOL Java C++ VB.Net 0 3 6 9 12 Months Academic Source: Gartner (nov. 2005) Productive Proficient 15 18 A mainframe developer in .Net Feels like an Englishman in New York ADF makes life easy Developers write familiar COBOL code COBOL business logic ADF GUI ADF provides the GUI mechanism utilizing the .Net classes Usage of ADF • Migration of existing applications (Mikado™) • Extending migrated applications • Building new applications Benefits of ADF • • • • Consistent GUI Fast application development Simplified maintenance Concentrate on business rules, not technology • No need to (re)train current staff intensively Hands-on experience Kees Tieleman Learning curve OO COBOL in .Net COBOL Java C++ VB.Net 0 3 6 9 12 Months Academic Source: Gartner (nov. 2005) Productive Proficient 15 18 Learning curve using ADF Visual Studio 2005 IDE Learning curve using ADF Visual Studio 2005 IDE Some OO Cobol 2 days Some OO Cobol additions • OO Cobol equivalent of MOVE for objects: set Boek-ISBN to self::"textISBN"::"Text" • OO Cobol equivalent of CALL for sending messages: invoke Error-Control::"SetError"(self::"textISBN", "ISBN has to be entered.") Learning curve using ADF Visual Studio 2005 IDE 2 days Some OO Cobol 1 day Application Development Framework A simple maintenance form ADF: example • Validate ******************************************************************** set ReturnValue to true method-id. ValidateRecord as "ValidateRecord" override public. ******************************************************************** linkage section. if Boek-Title = spaces 01 ReturnValue object reference class-boolean. set ReturnValue to false procedure division returning ReturnValue. *> invoke Validate data values. return True or False. Error-Control::"SetError"(self::"textTitle", set ReturnValue to true "Title has to be entered.") elseif Boek-Title = spaces set ReturnValue to false invoke Error-Control::"SetError"(self::"textTitel", invoke Error-Control::"SetError"(self::"textTitle", "") "Title has to be entered.") else end-if invoke Error-Control::"SetError"(self::"textTitel", "") . end-if . end method ValidateRecord. Learning curve using ADF Visual Studio 2005 IDE 2 days Some OO Cobol 1 day Application Development Framework 2 days + Grand total 5 days Learning curve OO COBOL in .Net COBOL Java C++ VB.Net 0 3 6 9 12 Months Academic Source: Gartner (nov. 2005) Productive Proficient 15 18 Summary • OO COBOL in .Net > many advantages > one significant disadvantage • ADF > eliminates long learning curve > enables you to retain current staff > bridges the gap between your application and .Net With help of the ADF Visit the Sogeti stand for more information about the ADF and a demo Back home