{"title":"Reengineering and Wrapping Legacy Modules for Reuse as Web Services","authors":"H. Sneed","doi":"10.4018/978-1-4666-2488-7.CH004","DOIUrl":null,"url":null,"abstract":"In almost every IT-user shop where a mainframe computer is still in operation, there are hundreds if not thousands of legacy code modules with several million lines of code. Most of them are written in COBOL, but also many in PL/I and 4GL languages like Natural and PowerBuilder. Some are running online in dialog mode while others run in batch mode as background jobs. Many of these users would now like to migrate to a service-oriented architecture using the mainframe as a hub where a wide assortment of Web services are available to the client business units to be built into their new business processes. However, they are inhibited in doing so by the high costs of such a migration. The biggest costs lie in developing the Web services from scratch or adapting those that can be found on the market. These high costs could be avoided if the user were able to reuse the software he already has. Most of the elementary business functions required by the new business processes already exist inside the old legacy modules. If they could be extracted and reused, the user would save the costs of having to develop them. However, their current architecture prohibits their reuse. They have no clearly defined interface, they are dependent on an old teleprocessing monitor or batch framework; they are intertwined with the other modules around them and their data is more often incompatible with the data types used for interacting with Web services. That means the modules have to be reengineered before being reused. This chapter deals with how this reengineering can be done. The goal is to make modular, flexible, and independent Web services from the monolithic, rigid, and dependent legacy modules. The methods used to achieve this goal are static analysis, code restructuring, code stripping, code transformation, and code","PeriodicalId":336794,"journal":{"name":"Migrating Legacy Applications","volume":"138 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Migrating Legacy Applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4018/978-1-4666-2488-7.CH004","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4
Abstract
In almost every IT-user shop where a mainframe computer is still in operation, there are hundreds if not thousands of legacy code modules with several million lines of code. Most of them are written in COBOL, but also many in PL/I and 4GL languages like Natural and PowerBuilder. Some are running online in dialog mode while others run in batch mode as background jobs. Many of these users would now like to migrate to a service-oriented architecture using the mainframe as a hub where a wide assortment of Web services are available to the client business units to be built into their new business processes. However, they are inhibited in doing so by the high costs of such a migration. The biggest costs lie in developing the Web services from scratch or adapting those that can be found on the market. These high costs could be avoided if the user were able to reuse the software he already has. Most of the elementary business functions required by the new business processes already exist inside the old legacy modules. If they could be extracted and reused, the user would save the costs of having to develop them. However, their current architecture prohibits their reuse. They have no clearly defined interface, they are dependent on an old teleprocessing monitor or batch framework; they are intertwined with the other modules around them and their data is more often incompatible with the data types used for interacting with Web services. That means the modules have to be reengineered before being reused. This chapter deals with how this reengineering can be done. The goal is to make modular, flexible, and independent Web services from the monolithic, rigid, and dependent legacy modules. The methods used to achieve this goal are static analysis, code restructuring, code stripping, code transformation, and code