Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Transaction Attribute for timeout callback method  RSS feed

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.

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!