Not sure this is the right forum for this question, but here goes...
I need to develop a web app (Spring MVC, if you must know, but the question is not spring-specific), that will allow a user to upload a JAR file that they have developed. The
servlet needs to scan the JAR for compatible classes that implement a specific "plugin" interface, and add those classes to it's classPath. Essentially, this should allow the user of the site to upload, enable, and configure plugins.
Is this possible? And if so, how can I add these uploaded JARs to the classpath for the webapp in a way that they won't be deleted next time I deploy my WAR file (ie: I can't store the uploaded JARs in the WEB-INF folder, etc.)?
thanks,