• 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

Same Transaction in diferent component

 
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I have a doubt about transaction. I need exchange message between two components located in the diferent container (JBOSS).
Is possible control the transaction of all operation below:

AppA
start trx
do anythink (how update database)
AppB.syncDB (call RPC using SOAP of other application - service of Web Service)
commit trx or rollback

The commit or roolback must be execute of all operation in the AppA and the service of AppB. How I can create I unique transaction for 2 diferent applications. It is possible ?

thanks
 
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So far as I know, transactions aren't propogated to web service since they're just HTTP requests (also, they may not even be managed by the same container that's managing the transaction). Maybe you need to look into using something else to achieve the same functionality.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic