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 UserTransaction Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


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

UserTransaction

Haroldo Nascimento
Ranch Hand

Joined: Aug 14, 2003
Posts: 79
Hi

I can commit/rollback DB transaction with metohds commit()/rollback() of javax.transaction.UserTransaction ? If Yes, How ?

Thanks
Nathaniel Stoddard
Ranch Hand

Joined: May 29, 2003
Posts: 1258
How about reading the API docs? And, what you can invoke depends on what type of bean you are talking about. In that case you should read the EJB specs also. Have fun.


Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: UserTransaction