Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2003-10-31
3
Medium Priority
?
237 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 200 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

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Suggested Courses

885 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