
Framework--Spring
guangtoutou
这个作者很懒,什么都没留下…
展开
-
AOP中的几个重要概念
AspectAn aspect is the cross-cutting functionality you are implementing. It is the aspect,or area, of your application you are modularizing. The most common (albeit simple)example of an aspect is logg原创 2005-04-07 17:31:00 · 1124 阅读 · 0 评论 -
Spring AOP简介
这是在网上发现的一篇关于Spring AOP编程的教程,读完这篇文章后,Spring AOP不再难以理解,因此我把它译成中文,推荐给Spring AOP的初学者。这是译文的链接。 AOP正在成为软件开发的下一个圣杯。使用AOP,你可以将处理aspect的代码注入主程序,通常主程序的主要目的并不在于处理这些aspect。AOP可以防止代码混乱。 为了理解AOP如何做到这点,考虑一下记日志的工作。日志原创 2005-04-08 23:35:00 · 779 阅读 · 0 评论