Announcement Announcement Module
No announcement yet.
Web application plugins Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Web application plugins

    I want to develop a web application using Spring and add new modules using jar files. I do not want use OSGI, simply copy the jar file into a directory (/home/user/plugins) and restart the Web application. These jar files contain classes with annotations @Component or @Service, and resources (icons, web pages, etc). The operation would be: I create a plugin (jar file), copy it in to location plugins, restart the application. When my application restart, I want that Spring to do componet-scan (context: component-scan basis-package = "com.plugin") and including the plugins classes and load some resource on demand.

    Excuse my English.

    Greetings and thanks for your attention. HLicea