Programmatic Vs Declarative Transaction Management
- Programmatic transaction management is good only if you have a small number of transactional operations. (Most of the times, this is not the case.)
- Transaction name can be explicitly set only using Programmatic transaction management.
- Programmatic transaction management should be used when you want explicit control over managing transactions.
- On the other hand, if your application has numerous transactional operations, declarative transaction management is worthwhile.
- Declarative Transaction management keeps transaction management out of businesslogic,and is not difficult to configure.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.