I am designing a web application with plug able component architecture (plugins). My requirement is to add new plugin jar (classes) into application without restarting the application, it should be dropped in web application's lib or plugin directory and application should able to pick it up.
I tried this with tomcat server but it can not load the jar file dropped into its lib directory once its started.
Can anyone suggest a best way to do this ?