Implementing dynamic plugins in Java
I'd like to implement a dynamic plugin feature in a Java application. Ideally: The application would define an interface Plugin with a method like getCapabilities(). A plugin would be a JAR pluginX.jar containing a class PluginXImpl implementing Plugin (and maybe some others). The user would put pluginX.jar in a special directory or se...