计算机科学与探索 ›› 2009, Vol. 3 ›› Issue (6): 601-611.DOI: 10.3778/j.issn.1673-9418.2009.06.005

• 学术研究 • 上一篇    下一篇

一种面向OSGi的构件化软件再工程方法

王 焘1,2,3+,魏 峻1,2   

  1. 1. 中国科学院 软件研究所 软件工程技术研究开发中心,北京 100190
    2. 中国科学院 软件研究所 计算机科学国家重点实验室,北京 100190
    3. 中国科学院 研究生院,北京 100049
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-11-15 发布日期:2009-11-15
  • 通讯作者: 王 焘

Component-based Software Reengineering Based on OSGi

WANG Tao1,2,3+, WEI Jun1,2   

  1. 1. Technology Center of Software Engineering, Institute of Software, Chinese Academy of Sciences, Beijing 100190, China
    2. State Key Lab of Computer Science, Institute of Software, Chinese Academy of Sciences, Beijing 100190, China
    3. Graduate University, Chinese Academy of Sciences, Beijing 100049, China
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-11-15 Published:2009-11-15
  • Contact: WANG Tao

摘要: 面向服务的构件模型可以解决当前大型软件系统难于管理、维护困难和缺乏动态性等问题,而OSGi框架为基于构件系统的服务化开发提供了有力支持。把OSGi作为基础框架对遗留软件系统进行再工程,设计了OSGi化软件的总体框架,提出了软件系统构件化方法,并针对再工程过程中普遍存在的问题给出了相应的解决方案。最后,通过对Web容器再工程的实例研究,验证了面向OSGi的构件化软件再工程方法的有效性。

关键词: OSGi框架, 面向服务计算, 软件构件, 软件再工程, 模块化

Abstract: The service oriented component based model can solve many problems facing current software systems, such as hard to manage,hard to maintain and lack of dynamicity. The OSGi framework provides support for the development of software systems based on component model. An approach to reengineer traditional software toward component model using OSGi as the foundation framework is presented. The software system architecture based on OSGi is designed. The reengineering principles toward components are discussed, and the analysis and solutions of the problems in reengineering are proposed. The presented reengineering approach is guided by a case study invol-ving the reengineering of a Web container system.

Key words: OSGi framework, service oriented computing, software component, software reengineering, modularity

中图分类号: