检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[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[自动化与计算机技术—计算机科学与技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.144.178.82