jQuery in Action, 2nd edition*
The moose likes EJB and other Java EE Technologies and the fly likes Transaction Attribute for timeout callback method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Transaction Attribute for timeout callback method" Watch "Transaction Attribute for timeout callback method" New topic
Author

Transaction Attribute for timeout callback method

Vish Shukla
Ranch Hand

Joined: Oct 12, 2008
Posts: 111
Hi all,

According to EJB3 specification, @Timeout callback method can have REQUIRED, REQUIRES_NEW or NOT_SUPPORTED transaction attribute. I wonder if there is any case in which Timeout method will be executed with active JTA transaction?

According to my understanding about @Timeout callback method, only two REQUIRED & NOT_SUPPORTED transaction attributes are required. It would be great if someone can explain why these 3 attributes are allowed.




Thanks & Regards,
Vishal S Shukla (SCJP 93%, SCWCD 94%, SCBCD 100%)
 
 
subject: Transaction Attribute for timeout callback method