jQuery in Action, 3rd edition
The moose likes EJB and other Java EE Technologies and the fly likes About  Inter Jar Communication(JAR-JAR) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "About  Inter Jar Communication(JAR-JAR)" Watch "About  Inter Jar Communication(JAR-JAR)" New topic

About Inter Jar Communication(JAR-JAR)

Murali Obla
Ranch Hand

Joined: Nov 18, 2001
Posts: 40
I have packaged some Java(JAR) files into two different jar files.Is it possible to communicate ie to instantiate a class which is in a particular jar file from other jar file??
Pls help me...
It's very urgent

"Excellence is never an accident; it is always the result of high intention, sincere effort, intelligent direction, skillful execution, and the vision to see obstacles as opportunities"
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17410

That's really more of a basic Java question than an EJB question. But the answer is simply that if all the jars are in your CLASSPATH, the classloader doesn't really care if there's one jar or 20 - it looks through all of them until it finds the class.

An IDE is no substitute for an Intelligent Developer.
Murali Obla
Ranch Hand

Joined: Nov 18, 2001
Posts: 40
Thanks for ur reply Hill
I agree. Here's the link: http://aspose.com/file-tools
subject: About Inter Jar Communication(JAR-JAR)
It's not a secret anymore!