Java, naming convention question

Posted on 2014-01-14
Last Modified: 2014-01-14
I see in the documentation the

Class MQConnectionMetaData 

Open in new window

in the package Package, 

Open in new window

Can I assume that the package is contained in the jar file:

Open in new window

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

Question by:Los Angeles1
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
LVL 37

Assisted Solution

zzynx earned 375 total points
ID: 39779516
>> Can I assume that the package is contained in the jar file
Normally the path(s) it contains files for, is not exposed in the jar's name.
LVL 37

Assisted Solution

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?
LVL 37

Assisted Solution

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
under the path
LVL 86

Accepted Solution

CEHJ earned 125 total points
ID: 39779792 is always in my PATH so i can find classes in jars
LVL 37

Expert Comment

ID: 39781521
Thanx 4 axxepting

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

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…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
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 will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…

726 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