Solved

Java, naming convention question

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

911 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now