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 IndexIBM MQ Java / JMSJAVA connecting to MQV8 options

Post new topicReply to topic
JAVA connecting to MQV8 options View previous topic :: View next topic
Author Message
kishi_25
PostPosted: Tue Feb 27, 2018 1:36 pm Post subject: JAVA connecting to MQV8 options Reply with quote

Voyager

Joined: 19 Jul 2011
Posts: 94

Want to clarify some basic questions on JAVA connecting to MQ.
1) what are the different ways core JAVA can connect to MQV8 to publish a message to a topic in MQ Queue?
2) I'm seeing the following jars in MQ installation path?
com.ibm.mq.traceControl.jar
com.ibm.mq.pcf.jar
com.ibm.mqjms.jar
com.ibm.mq.jmqi.jar
com.ibm.mq.jar
com.ibm.mq.headers.jar
com.ibm.mq.allclient.jar
jms.jar

Infocenter says, com.ibm.mq.allclient.jar and rest all are mutually exclusive..does that mean we can use either one?
3) in what scenario we use creating JMS bindings in MQ and sharing it to application teams?
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Tue Feb 27, 2018 3:16 pm Post subject: Re: JAVA connecting to MQV8 options Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3066
Location: London, ON Canada

kishi_25 wrote:
1) what are the different ways core JAVA can connect to MQV8 to publish a message to a topic in MQ Queue?
2) I'm seeing the following jars in MQ installation path?
com.ibm.mq.traceControl.jar
com.ibm.mq.pcf.jar
com.ibm.mqjms.jar
com.ibm.mq.jmqi.jar
com.ibm.mq.jar
com.ibm.mq.headers.jar
com.ibm.mq.allclient.jar
jms.jar

Infocenter says, com.ibm.mq.allclient.jar and rest all are mutually exclusive..does that mean we can use either one?

If you are doing "MQ Classes for Java" (i.e. non-JMS) then you can go with the fat JAR file of com.ibm.mq.allclient.jar which is roughly 8MB.

If you prefer your "MQ Classes for Java" be a little lighter (i.e. 4.5MB) then you can just go with (MQ V8 or higher):
- com.ibm.mq.commonservices.jar
- com.ibm.mq.headers.jar
- com.ibm.mq.jar
- com.ibm.mq.jmqi.jar
- com.ibm.mq.pcf.jar

Note: If you are doing MQ/JMS coding (MQ Classes for JMS) then use com.ibm.mq.allclient.jar JAR file as it will simplify your life.

kishi_25 wrote:
3) in what scenario we use creating JMS bindings in MQ and sharing it to application teams?

It is the preferred way of setting/storing connection information for JMS applications.

Regards,
Roger Lacroix
Capitalware Inc.
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexIBM MQ Java / JMSJAVA connecting to MQV8 options
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.