Posted: Mon Jul 15, 2002 9:19 am Post subject: distributed transactions - mqseries 5.2 and WebSphere 4.0
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.
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