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 Whether normal methods involved in a User Transaction 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 "Whether normal methods involved in a User Transaction" Watch "Whether normal methods involved in a User Transaction" New topic
Author

Whether normal methods involved in a User Transaction

gutta rahul
Greenhorn

Joined: Nov 23, 2003
Posts: 12
Hi,

Iam new to transactions. If I begin a UserTransaction and begin the transaction using the begin() method given, will the subsequent calls to other methods after begin() and commit() will be tied implicitly to the transaction context? Thanks in advance.
Roger Chung-Wee
Ranch Hand

Joined: Sep 29, 2002
Posts: 1683
That's right, you are defining the boundaries of the transaction between the begin and commit/rollback methods.


SCJP 1.4, SCWCD 1.3, SCBCD 1.3
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Whether normal methods involved in a User Transaction