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 » IBM MQ Java / JMS » distributed transactions - mqseries 5.2 and WebSphere 4.0

Post new topic  Reply to topic
 distributed transactions - mqseries 5.2 and WebSphere 4.0 « View previous topic :: View next topic » 
Author Message
roliv
PostPosted: Mon Jul 15, 2002 9:19 am    Post subject: distributed transactions - mqseries 5.2 and WebSphere 4.0 Reply with quote

Novice

Joined: 26 Aug 2001
Posts: 11

Hi,

I'd like to write a short program that uses WebSphere (v4.0) as the Resource Manager for a distributed transaction. By the way, I am not writing EJBs code; this is just a short program, more like a simple tutorial. I am using JMS with MQSeries (v 5.2) and JDBC. I have already defined the administered objects that are needed using the JMSAdmin utility (e.g., queues, queue manager). Based on the information I have found, I also need to register a transaction manager so then in my code I can do something like this:

InitialContext ic = new InitialContext(env);
TransactionManager txMngr = ic.lookup("jms/samples/TXMngr");
txMngr.begin();

This is the part where I am kind of lost. The JMSAdmin documentation does not say anything about registering/defining TransactionManagers. Can any one shed some light on this? How do I define my TransactionManager? Do I use JMSAdmin? Please, note that I am not writing any EJBs code, just interested in writing a short sample code. Thanks.
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 » IBM MQ Java / JMS » distributed transactions - mqseries 5.2 and WebSphere 4.0
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.