File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Transaction Attribute for timeout callback method

Vish Shukla
Ranch Hand
Posts: 111
  • 0
  • 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.

I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic