Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Transaction Attribute for timeout callback method

 
Vish Shukla
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.



 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic