本地事务系列之四:使用AOP

Spring AOP经过在文件中配置来管理事务,好处是对代码侵入性小。 Spring AOP使用AspectJ表达式来定义切点,因此pom文件加入: <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjweaver</artifactId> <version>1.7.0</version> </dep
相关文章
相关标签/搜索