摘要
将已有的代码进行修改,使之包含其他的功能和行为是软件工程中的一个常见问题。构件适配是构件使用者为了在特定的应用系统中使用而改变构件的过程。因为大部分适配者都不是构件设计者,所以适配是一件非常困难的工作。面向对象和基于构件的软件开发方法的广泛使用,在使用第三方构件时出现了越来越多的问题,特别要求对第三方构件适配的支持。本文介绍了几种不同的适配技术,并通过对一个示例构件的适配比较了各种技术的特点。
To revise the existing codes and make it contain other functions and features is a common problem in software engineering. Component adaptation is a process 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
出处
《计算机工程与科学》
CSCD
2008年第1期101-104,共4页
Computer Engineering & Science
基金
国家973计划资助项目(2005CB321804)
关键词
构件适配
主动接口
BCA
继承
包裹
component adaptation
active interface
BCA
inheritance
wrapping