###
DOI:
:2003.14(8):1364-1370

基于构件的软件框架与角色扩展形态研究
刘瑜,张世琨,王立福,杨芙清
(北京大学,信息科学技术学院,北京,100871)
Component-Based Software Frameworks and Role Extension Form
LIU Yu,ZHANG Shi-Kun,WANG Li-Fu,YANG Fu-Qing
()
Abstract
Chart / table
Reference
Similar Articles
Article :Browse 3530   Download 3599
Received:January 17, 2003    Revised:March 05, 2003
> 中文摘要: 框架是实现大粒度软件复用的有效途径,面向对象框架可以通过实例化扩展实现具体的应用系统,但是,研究和实践表明,面向对象框架存在着一些问题.采用基于构件的框架(CBSF),通过用构件替代框架内部相互协作的类,以增大框架构成成分的粒度;同时利用构件的接口调用和组装实现框架扩展机制.主要探讨了角色扩展形态,角色是将要被进一步实例化的特殊构件,可分为抽象构件和模板.针对不同变化性类型,提出可以利用体系结构模式、设计模式或参数化这3种方式设计CBSF角色扩展,进而讨论了基于角色扩展形态的应用构件组装.
中文关键词: 基于构件的框架  扩展点  角色  变化性
Abstract:Framework is an important approach to large-grained software reuse. Object-Oriented frameworks are widely used through instantiation, but some shortcomings of object-oriented framework were mentioned during related researches and practices. Component-Based software framework (CBSF), which belongs to black-box framework, is adopted to solve these problems. In CBSF, component is chosen to substitute for collaborated class to increase the granularity of framework's element, and hot spot is implemented by component interface calling and components composition. Role extension form of CBSF is discussed, in which role is a special component that need to be instantiated, and can be categorized into abstract component and template. During the CBSF develop process, architecture patterns, design patterns and parameterizations approaches are helpful to design role extension for different domain variability types. Some issues on composing application components based on the role extension form are also discussed in this paper.
文章编号:     中图分类号:    文献标志码:
基金项目:Supported by the National High-Tech Research and Development Plan of China under Grant No.2001AA113171 (国家高技术研究发展计划(863) Supported by the National High-Tech Research and Development Plan of China under Grant No.2001AA113171 (国家高技术研究发展计划(863)
Foundation items:
Reference text:

刘瑜,张世琨,王立福,杨芙清.基于构件的软件框架与角色扩展形态研究.软件学报,2003,14(8):1364-1370

LIU Yu,ZHANG Shi-Kun,WANG Li-Fu,YANG Fu-Qing.Component-Based Software Frameworks and Role Extension Form.Journal of Software,2003,14(8):1364-1370