ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Two Phase Commit

Post new topic  Reply to topic
 Two Phase Commit « View previous topic :: View next topic » 
Author Message
x061294
PostPosted: Sun May 13, 2007 3:37 pm    Post subject: Two Phase Commit Reply with quote

Acolyte

Joined: 05 Apr 2005
Posts: 62

I have two web service call's that I need to make out of broker, each that would update a DB. I want to run the whole thing under 1 transaction, and be able to commit/rollback as needed if they both work or one or the other fails. Normally doing two phase commit, using WebSphere MQ as the Transaction Manager, I understand the ability to do two phase commit with making ODBC calls into a DB and writing to a queue, etc, all within 1 transaction. But, with WS call's to two different machines that update different databases, is this something in scope?

If not in scope for WebSphere MQ / WMB in an XA transaction, is it possible that the WS-xx spec's (WS-Coordination, WS-AtomicTransaction, WS-BusinessActivity) would be in play? If so, has anyone used them within a WS transaction from the Broker?

Looking for anyone's thought's/opinions on this. Another option I suppose would be to use something like WebSphere Process Server as a business transaction, but, I don't know the impact of that, and, if that just would wrap a more manual process around the commit/rollback.
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Sun May 13, 2007 10:39 pm    Post subject: Re: Two Phase Commit Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

You can read something about it here:
http://www-128.ibm.com/developerworks/library/specification/ws-tx/

Personally, when I need transaction I always use MQ.
I use WS only for non-transactionla requests.
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
x061294
PostPosted: Mon May 14, 2007 3:47 am    Post subject: Reply with quote

Acolyte

Joined: 05 Apr 2005
Posts: 62

I had read about that. I guess my question was, is there anything in WMB that would support a distributed two phase commit like this across Web Services, or is it something that I would have to build using the framework of the WS-xx spec's?

And if not in WMB, which would be my preferred, but is there something out of the box in WebSphere Process Server that would do this? Process Server is designed for longer running transactions, I'm not familiar enough with it to know if it can support transactional integrity across multiple parts of the transactions such as multiple web services, or if it handles that type of integrity through compenesating transactions.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon May 14, 2007 1:18 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

x061294 wrote:
I had read about that. I guess my question was, is there anything in WMB that would support a distributed two phase commit like this across Web Services, or is it something that I would have to build using the framework of the WS-xx spec's?

And if not in WMB, which would be my preferred, but is there something out of the box in WebSphere Process Server that would do this? Process Server is designed for longer running transactions, I'm not familiar enough with it to know if it can support transactional integrity across multiple parts of the transactions such as multiple web services, or if it handles that type of integrity through compenesating transactions.


You will most probably have to go for compensating transactions...

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
x061294
PostPosted: Tue May 15, 2007 4:41 am    Post subject: Reply with quote

Acolyte

Joined: 05 Apr 2005
Posts: 62

That's what I was afraid of. If anyone know's of anything else, appreciate any feedback.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Two Phase Commit
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.