Reengineering and Wrapping Legacy Modules for Reuse as Web Services

H. Sneed
{"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
重新设计和包装遗留模块,以便作为Web服务重用
在几乎每个仍在运行大型计算机的it用户商店中,都有数百甚至数千个遗留代码模块,其中包含数百万行代码。它们大多数是用COBOL编写的,但也有许多是用PL/I和4GL语言(如Natural和PowerBuilder)编写的。一些以对话模式在线运行,而另一些以批处理模式作为后台作业运行。这些用户中的许多人现在希望迁移到使用大型机作为集线器的面向服务的体系结构,在集线器中,客户业务单元可以使用各种各样的Web服务,以便将其构建到新的业务流程中。然而,这种迁移的高昂成本阻碍了他们这样做。最大的成本在于从零开始开发Web服务或调整市场上可以找到的Web服务。如果用户能够重用他已经拥有的软件,这些高成本是可以避免的。新业务流程所需的大多数基本业务功能已经存在于旧的遗留模块中。如果它们可以被提取和重用,用户就可以节省开发它们的成本。然而,它们当前的体系结构禁止它们的重用。它们没有明确定义的接口,它们依赖于旧的远程处理监视器或批处理框架;它们与周围的其他模块交织在一起,并且它们的数据通常与用于与Web服务交互的数据类型不兼容。这意味着在重用模块之前必须重新设计模块。本章讨论如何进行这种再造。目标是从单一的、严格的和依赖的遗留模块中获得模块化的、灵活的和独立的Web服务。用于实现这一目标的方法是静态分析、代码重构、代码剥离、代码转换和代码
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书