Reputation: 331
I'm using tomcat and Spring 3.1 to develop a Maven webapp. The data source is defined as JNDI in tomcat. I'm thinking about using @Transactional annotation.
How to implement transaction in the service layer? Could you please point me at the right direction as what kind of transaction management should I use? JTA, JPA or others? And how to configure it? Which dependencies do I need?
Thanks.
Upvotes: 2
Views: 2111