摘要
面向方面编程与构件技术的结合是开发更加可复用、可扩展的软件的新方法,不同于传统的通过修改系统架构以及引入新的编程语言实现二者的结合。提出一种将文件划分为构件与方面,利用XML语言描述构件与方面的编织关系,结合构件容器技术与面向方面编程的方法实现构件与方面的运行时编织的方法。新的方法既可以简单方便地描述方面,又有效地扩展了现有系统,原有构件不需要任何改动,就可以直接实现同方面的编织,并确保比较高的运行效率。同时该方法在CAR上的软件工程实践也作了描述。
Aspect-oriented component engineering(AOCE) is a new methodology for component-based development. Different from traditional way to modify the system architecture or introduce new language,in this paper we introduce our approach to support AOP on component plaform. In our approach applications are composed of components and aspects and composed at runtime according to the composition information descriped by XML. We introduce a cornposition mechanism of composing components and aspects by merging the component container technology and AOP approaches. In our approach ,we can simply describe the aspects ,weave the aspects into components without any change of components to extend the system architectures, and have little holdbaek of effiency. Also the approach's implementation on CAR is described.
出处
《计算机应用与软件》
CSCD
北大核心
2006年第12期19-22,共4页
Computer Applications and Software
基金
国家高技术研究发展计划(863计划)项目的支持(编号:2001AA113400
2003AA1Z2090)。