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 » Global unit of work???????????

Post new topic  Reply to topic
 Global unit of work??????????? « View previous topic :: View next topic » 
Author Message
venkataramanan
PostPosted: Tue Oct 15, 2002 6:07 pm    Post subject: Global unit of work??????????? Reply with quote

Apprentice

Joined: 18 Sep 2002
Posts: 47
Location: Chennai, India

Can anybody please tell me what is GLOBAL UNIT OF WORK in wmqsi. Actually this question was asked when i went for an interview.

Thanks

regards
venkat
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
kolban
PostPosted: Tue Oct 15, 2002 7:09 pm    Post subject: Reply with quote

Grand Master

Joined: 22 May 2001
Posts: 1072
Location: Fort Worth, TX, USA

I would say that a global unit of work is transactional activity against multiple resources (eg database, MQ queues, another database) that should be included in the same transaction. All the activities will either be commited or rolledback as a unit.

Work performed against a single resource that is commited or rolledback in insolation, I would call a local unit of work.
Back to top
View user's profile Send private message
venkataramanan
PostPosted: Wed Oct 16, 2002 12:12 am    Post subject: Reply with quote

Apprentice

Joined: 18 Sep 2002
Posts: 47
Location: Chennai, India

Hmmmmm thank you kolban really a nice explanation. hereafter i will tell the same answer if any question is asked in the interviews.

But could be little bit precise regarding the transaction. you said "All the activities will either be commited or rolledback as a unit" i will be happy if you tell me more explanation about this part.

thanks

regards
venkat
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
kolban
PostPosted: Wed Oct 16, 2002 10:34 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2001
Posts: 1072
Location: Fort Worth, TX, USA

When messages are put/get from a queue or rows added, deleted or updated in a table, these are changes to a resource. If the changes are to be made permanent, this is called "commiting"the changes. If the changes or activities are to be "undone", these are called being "rolled back"
Back to top
View user's profile Send private message
venkataramanan
PostPosted: Wed Oct 16, 2002 5:18 pm    Post subject: Reply with quote

Apprentice

Joined: 18 Sep 2002
Posts: 47
Location: Chennai, India

Thank you kolban really thanks for your clarification.

with regards
venkat
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
mmarq
PostPosted: Thu Oct 17, 2002 5:20 am    Post subject: global unit of work Reply with quote

Acolyte

Joined: 19 Sep 2002
Posts: 74
Location: Newton, MA

It is also leveraging the XA protocol which specifies a bidirectional interface between a transaction manager and its resource manager. So across recoverable resources in a distributed environment, you can get a single transaction manager to coordinate a unit of work across its resource managers.

In MQSI (in the implementation we are doing) this means that MQSeries is assigned the duty of transaction manager and our database and MQSI are resource managers. The database you are using has to be able to support XA to do this. DB2 does and that is what we are using. I believe Oracle and Sybase do as well.

It requires some careful configuration across the database(s), MQSI and MQSeries to make this work. This implementation is known as a globally coordinated unit of work in MQSI. THere are variations and caveats to this so you'll want to read up in MQSI, MQSeries and your database manuals for this support.

Hope this helps!
-Melissa

NerveWire, Inc.
_________________
M Marquis
Back to top
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Global unit of work???????????
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.