This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 15961
    
  19

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: About Inter Jar Communication(JAR-JAR)
 
Similar Threads
using jstl with struts
Hibernate
mysqlDriver.jar inside a JAR file
ClassNotFoundException
Error Loading Driver Class while using mysql's mm driver