基于Annotation的Spring AOP系统设计  被引量:7

DESIGN OF SPRING AOP BASED ON ANNOTATION

在线阅读下载全文

作  者:刘荣辉[1,2] 薛冰[2] 

机构地区:[1]东华大学管理学院,上海200051 [2]河南城建学院计算机科学与工程系,河南平顶山467044

出  处:《计算机应用与软件》2009年第9期18-20,共3页Computer Applications and Software

基  金:国家自然科学基金资助项目(60372072);上海市自然科学基金资助项目(06ZR14004)

摘  要:简要介绍AOP(Aspect Oriented Programming)技术和Annotation技术,讨论了Spring中的AOP的两种实现。通过同一个案例阐述了在Spring中通过XML配置来实现AOP和使用了Annotation在Spring中实现AOP,比较了两种实现方式的优缺点。对在Spring使用Annotation实现AOP作了总结,从而体现了Annotation在设计系统时其简洁性和良好的扩展性。This paper introduces the aspect-oriented programming(AOP) technology and the Annotation technology in brief,and describes two realization patterns of AOP in Spring. The realisation of A0P in Spring with XML configuration and with Annotation is dwelled by the same example, the pros and cons of these two realisation modes are compared. The realisation of A0P in Spring by using Annotation is summarised, thus the simplicity and good expandability of Annotation in system designing have been embodied.

关 键 词:SPRING XML AOP ANNOTATION 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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