Solved

Java, naming convention question

Posted on 2014-01-14
5
267 Views
Last Modified: 2014-01-14
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
0
Comment
Question by:Los Angeles1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
5 Comments
 
LVL 37

Assisted Solution

by:zzynx
zzynx earned 375 total points
ID: 39779516
>> 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
 
LVL 37

Assisted Solution

by:zzynx
zzynx earned 375 total points
ID: 39779536
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
 
LVL 37

Assisted Solution

by:zzynx
zzynx earned 375 total points
ID: 39779555
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
 
LVL 86

Accepted Solution

by:
CEHJ earned 125 total points
ID: 39779792
http://technojeeves.com/joomla/index.php/free/45-jarsearch is always in my PATH so i can find classes in jars
0
 
LVL 37

Expert Comment

by:zzynx
ID: 39781521
Thanx 4 axxepting
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question