Declarative Transaction Demarcation
Alternatively, one can use Spring's AOP TransactionInterceptor, replacing the transaction demarcation code with an interceptor configuration in the application context. This allows to keep business objects free from repetitive transaction demarcation code in each business method. Furthermore, transaction semantics like propagation behavior and isolation level can be changed in a configuration file and do not affect the business object implementati
阅读全文
类别:J2ee 查看评论
posted on 2007-06-01 16:04
猕猴桃 阅读(157)
评论(0) 编辑 收藏