Apr 5th, 2012, 08:06 PM
Application with plugins
I decided to redesign application with plugins. I have no experience with Spring, only did some Grails work.
current app design is
main program loads plugins from directories /plugins/plugin-name/plugin-name.jar each plugin comes with xml descriptor - /plugins/plugin-name/descriptor.xml
Now, i want to use Spring IoC.
Can IoC load xml files with <beans> in any order?
Can be jars with plugins easily added to Classpath without much coding. I assume that i need to add all to classpath unless container is able to load just activated plugins.
will this dynamic modules help? http://www.springsource.org/osgi
and what is status of OSGI with spring, it seems that all OSGi stuff is gone and moved to Eclipse. It was removed from STS too.
Tags for this Thread