*
The moose likes EJB and other Java EE Technologies and the fly likes Default Transaction Type in EJB-jar.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Default Transaction Type in EJB-jar.xml" Watch "Default Transaction Type in EJB-jar.xml" New topic
Author

Default Transaction Type in EJB-jar.xml

ALaxmi Shankaran
Greenhorn

Joined: Feb 23, 2004
Posts: 26
Which is the default transaction type in the ejb-jar.xml in case of container managed entity beans/bean managed entity beans???
Sergiu Truta
Ranch Hand

Joined: Dec 16, 2003
Posts: 121
Usually it's "Required".


...watch me...as I'm walking the path...
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
This is not mandated by the EJB Specification and therefore it varies between J2EE Application Servers. For this reason, you should always specify the transaction type for your EJBs.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Default Transaction Type in EJB-jar.xml