Quote:Original post by Kambiz
I know *exactly* what I want:
My application will have a small kernel, the kernel will load many PlugIns, compile them and use them when needed. In Managed C++ or C# I would use C# like a scripting language and compile all the PlugIns using the CodeDomProvider, now I want to know if it is possible to do the same thing in Java.
Please do not tell me I need to use a scripting language! If that is the only way in Java I will use c# for this Project at the cost of portability.
Wow! Microkernels!
OSGI has been doing this for the last six years, and some big projects use it. http://www.osgi.org/ , http://download.eclipse.org/eclipse/equinox/
For the scripting stuff use either the framework at Apache or Java 6 that has the scripting engine bundled.
For compiler stuff use the compiler API in Java 6.
Good luck.