作者:刘荣辉 薛冰springxmlaopannotation
摘要:简要介绍AOP(Aspect Oriented Programming)技术和Annotation技术,讨论了Spring中的AOP的两种实现。通过同一个案例阐述了在Spring中通过XML配置来实现AOP和使用了Annotation在Spring中实现AOP,比较了两种实现方式的优缺点。对在Spring使用Annotation实现AOP作了总结,从而体现了Annotation在设计系统时其简洁性和良好的扩展性。
注:因版权方要求,不能公开全文,如需全文,请咨询杂志社