AOP技术及其在J2EE中的动态代理实现  被引量:4

AOP Technology and Its Dynamic Proxy Implementation in J2EE

在线阅读下载全文

作  者:曹晓利[1] 郭顺生[1] 

机构地区:[1]武汉理工大学,湖北武汉430074

出  处:《计算机技术与发展》2008年第11期120-122,共3页Computer Technology and Development

基  金:湖北省国际科技合作重点项目(2007CA008)

摘  要:随着软件技术的发展及需求的增加,OOP逐渐表现出其不足之处,AOP在继承OOP基础之上很好地解决了OOP所面临的困难。针对OOP编程思想的一种补充,AOP编程思想通过分离出与系统核心业务实现无关的模块,减少模块间的耦合度从而提高开发效率。AOP使得需要编写的代码量大大缩减,节省了时间,控制了开发成本。为使用AOP技术解决在软件开发中OOP难以解决的问题以及提高开发效率,利用JAVA的反射机制,研究了AOP的动态代理实现原理,说明了其可行性,体现了AOP技术应用价值和发展前景。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 eordronted. 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 refleetibility mechanism and explains its feasibility and imarnates the value on application of AOP and its foreground.

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

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象