Java, naming convention question

I see in the documentation the

Class MQConnectionMetaData 

Open in new window


in the package Package

com.ibm.mq.jms, 

Open in new window


Can I assume that the package com.ibm.mq.jms is contained in the jar file:

com.ibm.mqjms.jar

Open in new window


The odd thing is there is no '.' between the mq and the jms in the jar file name

Thanks
Los Angeles1Asked:
Who is Participating?
 
CEHJConnect With a Mentor Commented:
http://technojeeves.com/joomla/index.php/free/45-jarsearch is always in my PATH so i can find classes in jars
0
 
zzynxConnect With a Mentor Software engineerCommented:
>> Can I assume that the package com.ibm.mq.jms is contained in the jar file com.ibm.mqjms.jar
No.
Normally the path(s) it contains files for, is not exposed in the jar's name.
0
 
zzynxConnect With a Mentor Software engineerCommented:
My above answer was a "global" answer; not for your specific case.

As for your specific case:
This link makes me think: yes.

Remark: doesn't your jar file name contains a version number?
0
 
zzynxConnect With a Mentor Software engineerCommented:
FYI: You can always open a jar file (with eg. WinRar) and have a look what files/classes are in it.

If you do that with your jar file, you'll probably find the file
MQConnectionMetaData.class
under the path
"com/ibm/mq/jms"
0
 
zzynxSoftware engineerCommented:
Thanx 4 axxepting
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.