2' 支持declarative transaction management(声明式事务管理) 3' 为一些原本比较复杂的事务API提供简化的programmatic transaction management(编程式事务管理)API
基于6个网页-相关网页
Spring的声明式事务管理可以被应用到任何类(以及那个类的实例)上,不仅仅是像EJB那样的特殊类。
Spring enables declarative transaction management to be applied to any class (and attendant instances of that class), not merely special classes such as EJBs.
如果您未使用此注释,则容器将假定您使用声明式事务管理(CONTAINER),它是EJB 3.0的默认事务类型。
If you don't use this annotation, the container assumes you are using declarative transaction management (container), which is the default transaction type for EJB 3.0.
使用Spring AOP,任何受spring框架管理的对象都可变为面向方面的,并且本教程利用了通过Spring AOP提供的声明式事务管理服务。
With the Spring AOP, any object managed by the Spring Framework can become aspect oriented, and this tutorial relies on the declarative transaction management services provided via the Spring AOP.
应用推荐