摘要
随着软件技术的发展及需求的增加,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.
出处
《计算机技术与发展》
2008年第11期120-122,共3页
Computer Technology and Development
基金
湖北省国际科技合作重点项目(2007CA008)