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 » Regarding MQQueueConnectionFactory

Post new topic  Reply to topic
 Regarding MQQueueConnectionFactory « View previous topic :: View next topic » 
Author Message
Suja
PostPosted: Fri Nov 17, 2006 10:15 pm    Post subject: Regarding MQQueueConnectionFactory Reply with quote

Novice

Joined: 07 Nov 2006
Posts: 16

hi..

Can i Use MQQueueConnectionFactory instead of ConnectionFactory and InitalContext to send a message to the Queue ? .

Actually i want to develop an application which takes a some data through UserInterface, and the data given is Processed in a servlet and then to send it to a Queue . To do this do i need to use Message Driven Beans or ?. I am going to Use tomcat as web container.

If iam having a Client and Server in my System, can i write a Client Program to send a msg to a queue in remote machine with out interacting with mqserver in my machine?

plz clear my doubts!!
_________________
Suja
Back to top
View user's profile Send private message
jbanoop
PostPosted: Fri Nov 17, 2006 11:13 pm    Post subject: Reply with quote

Chevalier

Joined: 17 Sep 2005
Posts: 401
Location: SC

MDB s are used to typically do the reverse ..to trigger when a message is available on the q it is listening on..
you can use a client connection to put a message on a remote queue manager without interacting with the MQServer.
the API you use is dependant on ur need and portability required for the code you write ..

Anoop
Back to top
View user's profile Send private message Yahoo Messenger
billybong
PostPosted: Wed Nov 22, 2006 12:57 am    Post subject: Reply with quote

Disciple

Joined: 22 Jul 2005
Posts: 150
Location: Stockholm, Sweden

Since Tomcat isn't a fullfledged J2EE server and doesn't have an EJB container it's not possible to use MDB's. What you're probably looking for is either to use the native MQI or just standard JMS message consuming.

Why do you have to use an MDB? If its really needed, take a look at a real J2EE server (Jboss, WAS, contact admin, Geronimo etc..).
_________________
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Integration Developer V6.0
IBM Certified System Administrator - WebSphere MQ V6.0
IBM Certified Solution Developer - WebSphere DataPower
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Regarding MQQueueConnectionFactory
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.