Declarative transaction management
- This means you separate transaction management from the business code.
- You only use annotations or xml configurations to manage the transactions.
- Large amount of transaction this approach is better.
Programmatic transaction management:
- This means that you have to manage the transaction with the help of programming.
- That gives you extreme flexibility but it’s difficult to maintain.
- Less amount of transaction this method is advised to use.
No comments:
Post a Comment