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

一种新的具适应性的程序结构
引用本文:杨志辉,王小民,张雄,许满武.一种新的具适应性的程序结构[J].计算机工程,2008,34(23):47-49.
作者姓名:杨志辉  王小民  张雄  许满武
作者单位:南京大学软件新技术国家重点实验室,南京,210093;南京大学计算机科学与技术系,南京,210093
基金项目:中国博士后科学基金,江苏省博士后科研基金
摘    要:TRAP/J结构可以将可适应性透明地加入已有的应用程序中,不用修改应用程序源代码和虚拟机。该文提出一种新的具适应性的结构,采用包装类和AspectJ获得对原类的封装和替代,使用抽象类代表原类,避免了原结构反射的使用。实验表明,与TRAP/J相比,用该结构构成的程序在单机环境中执行速度更快,但是在网络环境下两者相当。

关 键 词:适应性软件  组合适应  面向方面编程  面向对象编程
修稿时间: 

New Adaptive Program Structure
YANG Zhi-hui,WANG Xiao-min,ZHANG Xiong,XU Man-wu.New Adaptive Program Structure[J].Computer Engineering,2008,34(23):47-49.
Authors:YANG Zhi-hui  WANG Xiao-min  ZHANG Xiong  XU Man-wu
Affiliation:(1. State Key Laboratory for Novel Software Technology, Nanjing University, Nanjing 210093; 2. Department of Computer Science and Technology, Nanjing University, Nanjing 210093)
Abstract:TRAP/J is a structure which can add adaptive capacity into original existed application(without modification of source code and virtual machine). This paper proposes a new architecture of adaptive Java program. Wrapper class and AspectJ are applied to enclose and replace original class, and abstract class is applied to represent original class. Experiments show that compared with TRAP/J, the running speed of program with new architecture is higher within single computer, but within networks there is no remarkable difference between two architectures.
Keywords:adaptive software  compositional adaptation  aspect-oriented programming  object-oriented programming
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机工程》浏览原始摘要信息
点击此处可从《计算机工程》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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