Posted: Wed Dec 17, 2003 1:35 pm Post subject: WebSphere MQ and Tomcat
Newbie
Joined: 17 Dec 2003 Posts: 1
Hello,
Is it possible to write applications that run in Tomcat using JMS and MQ? And if so, could someone point me to a link with some example code on how to accomplish this?
Joined: 22 Aug 2002 Posts: 46 Location: Quebec, Canada
Hi MG,
Since there is no EJBs (Read Message-Driven beans) in Tomcat, you need to go straight JMS with MQ.
I suggest you go through the MQSeries Using Java Guide and check the sections where you need to use JMSAdmin to setup your Queues/Topics Connection Factories and Destinations/Topics...
To summarize:
-Install MQ
- Create MQ Objects
- Configure JMS Admin objetcs to link the Java/JMS world with MQ
(The JMSAdmin utility and configuration files are located in MQ_JAVA_INSTALL_PATH\bin.
- Test the plumbing with JMS Samples
- Use Java/JMS code in Tomcat to access your JMS objects
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