• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2008, Vol. 30 ›› Issue (1): 101-104.

• 论文 • 上一篇    下一篇

构件适配技术比较研究

杨明霞[1] 余建军[1] 赵良[2] 杨彩云[1]   

  • 出版日期:2008-01-01 发布日期:2010-05-19

  • Online:2008-01-01 Published:2010-05-19

摘要:

将已有的代码进行修改,使之包含其他的功能和行为是软件工程中的一个常见问题。构件适配是构件使用者为了在特定的应用系统中使用而改变构件的过程。因为大部分适配者都不是构件设计者,所以适配是一件非常困难的工作。面向对象和基于构件的软件开发方法的广泛使用,在使用第三方构件时出现了越来越多的问题,特别要求对第三方 构件适配的支持。本文介绍了几种不同的适配技术,并通过对一个示例构件的适配比较了各种技术的特点。

关键词: 构件适配 主动接口 BCA 继承 包裹

Abstract:

To revise the existing codes and make it contain other functions and features is a common problem in software engineering. Component adaptation is a p rocess in which the component user changes the components in order to use them in particular application sytems. Because most adapters are not the designer of the components, adaptation is a very hard job. With the application of the OO and component-based software development methods,more and more problems emerge when we use the third-party componenrs, and the third-party component adaptation support is specially required. The paper introduces several different adaptation techniques, and compares the characteristics of vatious techniques through an example

Key words: component adaptation, active interface, BCA, inheritance, wrapping