I have a Spring MVC project to which I would like to add and update a number of classes without having to restart the server. From what I have read, OSGi is the way to go. The obvious choice of implementation is Spring DM (or it's replacement Gemini Blueprint). What I can't work out is how you actually add it to a Spring project. Does Spring run within Gemini Blueprint or does Gemini Blueprint run within Spring? The official documentation has left me somewhat confused. I don't mind getting a book on the subject but not until I know it will do what I want it to.
I think reading over that document and checking out their samples will give you a good start. Any examples/blogs you find online regarding Spring DM server will most likely work with little to no changes on Virgo as well.