Solved

How do you add new jar files (classes) to existing application jars?

Posted on 2003-10-31
3
217 Views
Last Modified: 2010-03-31
I have an application class which will obtain the list of new jars that are added to the server by reading a configuration file. How do I actually run them? One option I have is use class loader. Are there any other options? (You can assume that each jar file represents a class and it has a main method)

Thanks.
0
Comment
Question by:Joegal
  • 2
3 Comments
 
LVL 92

Accepted Solution

by:
objects earned 50 total points
ID: 9661408
The class loader is responsible for loading classes so I'd say it is your only option. There will at least have to be a classloader involved somewhere.

0
 

Author Comment

by:Joegal
ID: 9728758
Objects,

Do you have more information on Java Extensions? If so, can you point me to some articles or links?

Thanks.
0
 
LVL 92

Expert Comment

by:objects
ID: 9728802
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

713 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