This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Default Transaction Attribute

 
Prakash Dwivedi
Ranch Hand
Posts: 452
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,

I tried to find it on net, but couldn't. What is the default transaction attribute in EJBs. or is it AppServer dependent?

Best Regards
 
Chris Mathews
Ranch Hand
Posts: 2712
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is undefined in the EJB Specification so it depends on your particular EJB Container and sometimes even on the version of the EJB Container that you are using (JBoss switched defaults between minor releases at one point I believe). For example, WebLogic defaults to NotSupported for MDBs and Supports for other types of EJBs (which is a pretty useless default). Moral of the story, also specify a transaction attribute for your EJBs.
 
Andreas Schaefer
Ranch Hand
Posts: 63
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think in EJB3 it will be 'Required' required by the spec.

-Andy
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic