您好,欢迎访问三七文档
当前位置:首页 > 建筑/环境 > 工程监理 > 从PB到Java的Web系统重构再工程解决方案研究
摘要—Ⅰ—从PB到Java的Web系统重构再工程解决方案研究林凯2006年11月—Ⅱ—摘要目前,随着软件工程方法学理论的进步、软件开发人员的成熟,计算机软件的应用面越来越广。在发达国家已经存在大量既存的应用软件,随着硬件和软件的升级、软件环境和需求的变化,这些既存软件急需进行适应性维护以延长软件的生命周期,因此,在发达国家,软件再工程已经成为主流。奥地索公司一直致力于软件再工程领域内的研究和实践,并且开发出AS-V软件再工程自动化解决方案集成平台,已经取得显著成果。但是,如何提高软件的再工程效率还缺乏有效的支持。本文通过研究国内外再工程等方面成熟的理论、技术和工具,对软件再工程过程中瓶颈-逆向工程进行了研究,提出了一个软件再工程中逆向工程的解决方案,并与重构相结合,作为自动化的软件再工程解决方案的组成部分,对再工程过程提供计算机辅助支持。本文首先对软件再工程、正向工程、逆向工程、重构进行定义,提出了系统重构的数据基础--系统组织结构概念模型,对其结构、组织形式以及内部定义做了深入的探讨。之后作者又介绍了整个Web化解决方案的系统结构框架。包括:如何通过对PB代码进行程序分析构建概念模型,如何提供相应的设计文档;如何进行诸如删除废码之类的源程序代码优化;以及如何将PB语言的源代码翻译成其他语言源代码等。最后介绍了该解决方案在实际项目中的应用状况。关键词软件再工程;逆向工程;概念模型;正则表达式;代码翻译摘要—Ⅰ—AbstractPresently,Theareawhichthesoftwarecoversaccordingtotheimprovementofthetheoryofthewayofconstructingsoftwaretoargue,theripenessofthedevelopmentpersonnelofthesoftwarebecomesincreasinglythebigger.therehavebeenalreadyexistedagreatdealoflegacyapplicationsatthedevelopedcountries,alongwiththeupgradeofthehardwareandsoftware,thechangesofsoftwareenvironmentandneeds,theseapplicationsareindireneedofadaptabilitymaintenanceinordertoprolongthelife-cycleofthesoftware.Therefore,atthedevelopedcountries,softwarereengineeringhasbeenbecomethemainstream.Inthelastyears,Aidedsofttakesupwiththeresearchandpracticeofsoftwarereengineeringandhasdevelopedthesoftwarereengineeringplatform-AS-V,hasbeenobtainedmarkedresult.However,attheaspectofhowtoincreasetheproductivityofsoftwarereengineering,westilllackofvalidtoolstosupport.Thisthesisprimarilyresearchedthereverseengineeringbystudyingthedomesticandinternationalmaturetheories,techniques,andputforwardasolutionofreverseengineeringforthissolutionthatintegratedtogetherwiththesoftwarerefactory.Itisacomponentofautomatesolutionforsoftwarereengineeringtosupportsoftwarereengineeringprocess.Firstthisthesissummarizesthedefinitionofthesoftwarereengineering,forwardengineering,reverseengineering,refactoryandbroughtforwardthebasisoftheanalysisofreverseengineering-theconceptmodeloforganizingstructure,whosestructure,organizationformandinnerdefinitionwasdeeplydiscussed.Afterthat,thewriterintroducestheframeworkofthewholerefactoryingsolutionofsystemusingPowerBuilderlanguage,includinghowtoconverttheresultofprogramanalysistotheconceptmodel,whatdesigndocumentitcangenerate,howtodeletetheunusedcode,andhowtotranslatethePowerBuildersourcetootherlanguage.Atlast,theeffectofthesolutioncarriedoutinfactprojectswasintroduced.Keywords:softwarereengineer;reverseengineer;conceptmodel;regularexpress;sourcetranslate目录—Ⅲ—目录摘要..............................................................ⅠAbstract..........................................................Ⅱ第1章绪论.......................................................71.1学术背景及理论与实际意义....................................71.1.1软件再工程............................................71.1.2正向工程、逆向工程....................................91.1.3本课题的意义.........................................101.2国内外文献综述.............................................101.3相关领域研究现状...........................................111.3.1逆向工程目前研究现状.................................111.3.2重构技术目前研究状况.................................121.4课题来源及研究内容.........................................121.5本文组织结构...............................................12第2章系统组织结构概念模型研究...................................142.1概念模型...................................................152.1.1概念模型层次框架.....................................162.1.2概念模型元素的详细设计...............................172.1.3概念模型的特点.......................................272.2本章小结...................................................27第3章PB-Java之Web化系统重构解决方案设计.......................283.1系统体系结构...............................................283.1.1AS-V简介.............................................283.1.2PB-Java的Web化系统重构解决方案与AS-V的关系........293.1.3AS-RE体系结构框架....................................303.1.4PB-Java的Web化系统重构解决方案的类关系图...........323.2体系结构框架中各模块介绍...................................333.2.1程序分析模块.........................................343.2.2对象提取模块.........................................403.2.3文档恢复模块.........................................403.2.4废码删除模块.........................................433.2.5代码翻译模块.........................................453.2.6手工转换支持模块.....................................513.3本章小结...................................................52第4章实际应用...................................................534.1实际运用项目介绍...........................................534.2PB-Java的Web化系统重构在实际项目中的运用................534.2.1逆向分析在实际中的应用...............................534.2.2废码删除在实际中的应用...............................544.2.3代码翻译功能在实际中的应用...........................554.2.4手工转换支持功能在实际中的应用.......................56—Ⅳ—4.3解决方案的评价.............................................574.4本章小结...................................................58第5章前景展望...................................................595.1PB-Java的Web化系统重构的解决方案的不断完善..............595.2概念模型的不断完善.........................................595.3代码翻译词典的不断完善.....................................595.4本章小结...................................................
本文标题:从PB到Java的Web系统重构再工程解决方案研究
链接地址:https://www.777doc.com/doc-169918 .html