Solved

Java, naming convention question

Posted on 2014-01-14
5
263 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
  • 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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

777 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