Sunday, February 10, 2013

Quick Transaction Handling in Webservice:

Quick Transaction Handling in Webservice:
1. Declare a DAO class
2. Declare a 'business' service that use this DAO DAO class. Set the transaction annotation in this service class. 
3. Declare a web-service that will in-turn calls transactional business service.


Hints for JTA Transaction: http://puzzlejava.blogspot.in/2010/06/jpa-transaction-default-properties.html?showComment=1358334982219#c8460406900893210646