File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes JTA Question 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 "JTA Question" Watch "JTA Question" New topic

JTA Question

James Ward
Ranch Hand

Joined: Apr 27, 2003
Posts: 263
Hi !
I have a scenario where my updates to database (oracle) and JMS must both succeed or both fail. If there is a problem updating database, JMS update (putting a message in a queue) should be rolled back too and vice-versa.
I think this is a JTA kind of scenario. I am using Weblogic Application Server.
Any ideas what is involved in doing this.
Any specific driver needs/ app server requirements / jms requirements.
Pls see : my jta code will not reside in a EJB but in a java class that will be in a J2EE app server.
I agree. Here's the link:
subject: JTA Question
jQuery in Action, 3rd edition