File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Spring in Action this week in the Spring forum!
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
Author

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
Thanks,
Murali


"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: 16140
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
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)