• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Using transaction with Websphere...

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Scenario :
When the user has completed the whole flow, I need to pick the data and write the data to the database and write it to the Message queue.All the database operation is using CMP Entity bean and the message is send using JMS operation.
The Transaction for this whole life cycle is managed by a stateful session beans.
The questions that I have are as follows :
1) Can I use javax.transaction.UserTrasaction in the stateful session bean and make few Entity beans and JMS part of a trsaction.
I am using Websphere 4.0.4.If there are any materials in the net that will give more information,please send it to me...
Thank you for your help...
 
Ranch Hand
Posts: 217
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sure you can use JTA to manage the whole transaction from SFSB, and you need configure your JMS to participate in the JTA.
Also your JDBC connection must support XA.
http://www7b.software.ibm.com/wsdd/library/tutorials/0210_cox/tutorial_reg.html
reply
    Bookmark Topic Watch Topic
  • New Topic