首页 | 本学科首页   官方微博 | 高级检索  
     

基于构件的软件框架与角色扩展形态研究
引用本文:刘瑜,张世琨,王立福,杨芙清.基于构件的软件框架与角色扩展形态研究[J].软件学报,2003,14(8):1364-1370.
作者姓名:刘瑜  张世琨  王立福  杨芙清
作者单位:北京大学,信息科学技术学院,北京,100871
基金项目:Supported by the National High-Tech Research and Development Plan of China under Grant No.2001AA113171 (国家高技术研究发展计划(863)
摘    要:框架是实现大粒度软件复用的有效途径,面向对象框架可以通过实例化扩展实现具体的应用系统,但是,研究和实践表明,面向对象框架存在着一些问题.采用基于构件的框架(CBSF),通过用构件替代框架内部相互协作的类,以增大框架构成成分的粒度;同时利用构件的接口调用和组装实现框架扩展机制.主要探讨了角色扩展形态,角色是将要被进一步实例化的特殊构件,可分为抽象构件和模板.针对不同变化性类型,提出可以利用体系结构模式、设计模式或参数化这3种方式设计CBSF角色扩展,进而讨论了基于角色扩展形态的应用构件组装.

关 键 词:基于构件的框架  扩展点  角色  变化性
文章编号:1000-9825/2003/14(08)1364
收稿时间:2003/1/17 0:00:00
修稿时间:3/5/2003 12:00:00 AM

Component-Based Software Frameworks and Role Extension Form
LIU Yu,ZHANG Shi-Kun,WANG Li-Fu and YANG Fu-Qing.Component-Based Software Frameworks and Role Extension Form[J].Journal of Software,2003,14(8):1364-1370.
Authors:LIU Yu  ZHANG Shi-Kun  WANG Li-Fu and YANG Fu-Qing
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.
Keywords:component-based software framework  hot spot  role  variability
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《软件学报》浏览原始摘要信息
点击此处可从《软件学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号