计算机科学与探索 ›› 2008, Vol. 2 ›› Issue (4): 368-377.DOI: 10.3778/j.issn.1673-9418.2008.04.004

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

基于产品线工程方法提高组件容器的可复用性

刘国梁+,李 洋,魏 峻   

  1. 中国科学院 软件研究所 软件工程技术中心,北京 100190
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2008-08-20 发布日期:2008-08-20
  • 通讯作者: 刘国梁

Enhancing Component Container Reusability through Product Line Engineering

LIU Guoliang+, LI Yang, WEI Jun   

  1. Technology Center of Software Engineering, Institute of Software, Chinese Academy of Sciences, Beijing 100190, China
  • Received:1900-01-01 Revised:1900-01-01 Online:2008-08-20 Published:2008-08-20
  • Contact: LIU Guoliang

摘要: 组件容器为组件提供部署和运行环境,是基于组件的分布式应用开发的核心。近年来,开发网构软件的需求驱动着组件技术持续改进,新型组件不断涌现,这对组件容器的开发效率提出更高的要求。因此,在组件容器开发过程中大规模复用已有的软件资产变得非常重要。在许多情况下,产品线工程已被证实是有效的系统化复用的工程方法。首先探讨将产品线工程应用于组件容器开发所面临的主要困难,并提出相应的解决方案;然后给出了一个组件容器的产品线——PLACE的设计,解释了其两个主要部分:产品线体系结构和产品派生流程;最后,通过一个实际案例,展示利用PLACE设计开发组件容器的完整过程,结果证实体系结构和源代码的复用性都有一定程度的提高。

关键词: 组件容器, 软件复用, 产品线工程, 产品线体系结构

Abstract: Component containers play a key role as the infrastructure of component-based applications on Internet. Nowadays, various kinds of components are emerging to satisfy requirements of developing Internetware. Hence, it’s becoming more and more important to reuse existing software assets when developing component containers. Product line engineering has proven successful as systematical reuse method in many product families. In this paper, main challenges applying product line engineering to component containers are studied as well as feasible solutions. The authors present product line architecture and product derivation process which comprise a product line of component container, named PLACE. A case illustrating development process of a component container shows improvement of reusability of both architectural modules and source code.

Key words: component container, software reuse, product line engineering, product line architecture