|
-
September 26th, 2009, 10:31 AM
#1
Loading external modules written in Java.
In other languages like C++, it is possible to write libraries that can be loaded and unloaded at runtime, making it possible to add functionality to the program merely by placing third party modules or plugins in the same directory as the program. However, I don't know how to do this in Java. I have searched the internet looking for a way to accomplish this, but I could not find a straightfoward explination of how to write libraries in Java and load them at runtime. I am not looking for a prewritten framework that enables me to do this. I want to implement it myself. Is there a solution for this?
-
September 26th, 2009, 12:34 PM
#2
Re: Loading external modules written in Java.
 Originally Posted by Guidosoft
Is there a solution for this?
Yes, classloaders,
http://en.wikipedia.org/wiki/Java_Classloader
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|