Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Transaction Attributes

 
JiaPei Jen
Ranch Hand
Posts: 1309
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it correct that the transaction attributes supported by methods of a stateful session bean that implements the javax.ejb.SessionSynchronization interface are: SUPPORTS, REQUIRED, and MANDATORY?
 
Kartik Shah
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"If an enterprise bean implements the javax.ejb.SessionSynchronization interface, the
Application Assembler can specify only the following values for the transaction attributes of the bean�s
methods: Required, RequiresNew, or Mandatory."
-- According to EJB Spec 2.0
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic