This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

About Inter Jar Communication(JAR-JAR)  RSS feed

 
Murali Obla
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Tim Holloway
Bartender
Posts: 18662
71
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Murali Obla
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for ur reply Hill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!