Dec 7th, 2010, 07:41 AM
@controller component-scan in OSGI service
i use an AbstractController as a baseclass for all my controllers in a spring MVC application which im turning into shared services application using spring dm server.
if i specify @controller and @requestmapping in each of them, is it then possible to make these controllers as osgi services in separate bundles and inject them in a osgi:list in the web bundle and making the war make beans for them with use of component-scan??
or is there some other way to do it?