File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Transaction... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Transaction..." Watch "Transaction..." New topic
Author

Transaction...

Gunjan
Greenhorn

Joined: Sep 18, 2003
Posts: 1
Hi All,
I have one query re:how transaction is managed in the following scenario
I have a session bean method which has a transaction attribute of 'Required' and from this method I am calling a method of an Entity bean which has no transaction attribute.....will in this case the method of the entity bean operate under transaction?
Gunjan.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
My guess would be that the entity bean executes within an unspecified transaction context. On the other hand, WebLogic, for example, defaults to "Supports" if bean provider hasn't specified a transaction attribute for the entity bean.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8898

Lasse is right. Please check your vendors doc for the default transaction attribute.


Groovy
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Transaction...
 
Similar Threads
Propogation
EntityBean Transcation inside UserTranscation
Transaction-propagation
Websphere transactions
Transaction question for attribute "Not Supported"