• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic