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 » JMS and MQ JMS APIs

Post new topic  Reply to topic
 JMS and MQ JMS APIs « View previous topic :: View next topic » 
Author Message
stigman13
PostPosted: Wed Jan 14, 2009 8:50 am    Post subject: JMS and MQ JMS APIs Reply with quote

Newbie

Joined: 14 Jan 2009
Posts: 2

I'm new to the whole pub/sub but have been reading up on JMS and MQ and have noticed there are 2 APIs that look very similar and didn't know if both were needed or if one is prefered over another?
We plan to setup MQ messaging and using a J2EE solution for our project. When reading the Sun site about the JMS API, the impression I get is that JMS is the interface between the application and the messaging. Since MQ has implemented JMS, we would only need to use the sun JMS API to interface with the MQ messaging. I've also went to another site that had mentioned that an application should just impliment the JMS API and not the MQ JMS API.
When reading the IBM site about MQ they mention the MQ JMS API and have seen other sites including this forum where the MQ JMS API appears to be used. Is there any problems only using the sun JMS API when connecting to MQ messaging? Is the MQ JMS API required to use MQ messaging?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jan 14, 2009 3:49 pm    Post subject: Re: JMS and MQ JMS APIs Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

stigman13 wrote:
I'm new to the whole pub/sub but have been reading up on JMS and MQ and have noticed there are 2 APIs that look very similar and didn't know if both were needed or if one is prefered over another?
We plan to setup MQ messaging and using a J2EE solution for our project. When reading the Sun site about the JMS API, the impression I get is that JMS is the interface between the application and the messaging. Since MQ has implemented JMS, we would only need to use the sun JMS API to interface with the MQ messaging. I've also went to another site that had mentioned that an application should just impliment the JMS API and not the MQ JMS API.
When reading the IBM site about MQ they mention the MQ JMS API and have seen other sites including this forum where the MQ JMS API appears to be used. Is there any problems only using the sun JMS API when connecting to MQ messaging? Is the MQ JMS API required to use MQ messaging?


I see where your confusion comes from.
You should be able to only use the Sun JMS API. However you will need all the MQ implementations classes on the Classpath.

The Reference to MQ JMS API may also include some provider specific information that is usually hidden in the JNDI setup when using pure sun JMS interface...

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
stigman13
PostPosted: Fri Jan 16, 2009 6:55 am    Post subject: Reply with quote

Newbie

Joined: 14 Jan 2009
Posts: 2

thanks, this helped clear up the confusion. I also found more info on the info center site after I did a more specific search.
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 » JMS and MQ JMS APIs
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.