Sunday, 31 January 2010

EJB timers and the Transactions

EJB timers are transactional. If Transaction rolled back the timer creation is also rolled back. Similarly, if a bean cancels a timer within a transaction that gets rolled back, the timer cancellation is rolled back. Here the timer's duration is reset as if the cancellation had never occured.

No comments:

Post a Comment