Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTA Question

 
James Ward
Ranch Hand
Posts: 263
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic