首页 | 官方网站   微博 | 高级检索  
     

AOP技术及其在J2EE中的动态代理实现
引用本文:曹晓利,;郭顺生.AOP技术及其在J2EE中的动态代理实现[J].微机发展,2008(11):120-122.
作者姓名:曹晓利  ;郭顺生
作者单位:武汉理工大学
基金项目:基金项目:湖北省国际科技合作重点项目(2007CA008)
摘    要:随着软件技术的发展及需求的增加,00P逐渐表现出其不足之处,AOP在继承CXDP基础之上很好地解决了OOP所面临的困难。针对OOP编程思想的一种补充,AOP编程思想通过分离出与系统核心业务实现无关的模块,减少模块问的耦合度从而提高开发效率。AOP使得需要编写的代码量大大缩减,节省了时间,控制了开发成本。为使用AOP技术解决在软件开发中OOP难以解决的问题以及提高开发效率,利用JAVA的反射机制,研究了AOP的动态代理实现原理,说明了其可行性,体现了AOP技术应用价值和发展前景。

关 键 词:AOP  动态代理  横切关注点

AOP Technology and Its Dynamic Proxy Implementation in J2EE
CAO Xiao-li,GUO Shun-sheng.AOP Technology and Its Dynamic Proxy Implementation in J2EE[J].Microcomputer Development,2008(11):120-122.
Authors:CAO Xiao-li  GUO Shun-sheng
Affiliation:CAO Xiao-li, GUO Shun-sheng (Wuhan University of Tdanology,Wuhan 430074,China)
Abstract:With the developing of software technology and the increasing of demand,there have been many disadvantages in OOP technology.As AOP inherits OOP,it can solve difficulty with which OOP is confronted.As a supplement of OOP,AOP can improve the efficiency during the software development process by isolating the modules which are not relevant with the core modules and decreasing the coupling among modules.AOP can decrease the codes,save on times and control the cost of exploitation.To use AOP to improve the efficiency and to solve the problems which OOP can not solve,makes a study of the implementation principle of AOP dynamic proxy,using JAVA reflectibility mechanism and explains its feasibility and incarnates the value on application of AOP and its foreground.
Keywords:AOP  dynamic proxy  crosscutting concern
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号