面向方面的编程,即 AOP,是一种编程技术,它允许程序员对横切关注点或横切典型的职责分界线的行为(例如日志和事务管理)进行模块化。AOP 的核心构造是方面,它将那些影响多个类的行为封装到可重用的模块中。
20.1Spring事务的AOP应用思想
PlatformTransactionManager
TransactionProxyFactoryBean
Spring提供的外部声明式事务方案
20.2Spring和IOC远程实现封装
l)LocalStatelessSessionProxyFactoryBean
2)SimpleRemoteStatelessSessionProxyFactoryBean