title: Combine OSGi blueprint and spring configuration
body: <p>Are there any good/best practices regarding the combination of Spring configuration and OSGi Blueprint (e.g. Gemini Blueprint)? Which XML files do you use? Where do you put them in your OSGi bundles (<code>META-INF/spring</code>, <code>OSGi-INF</code>)? Which of these practices will allow you to reuse your bundles in combination with a non-Gemini-implementation of Blueprint?</p>
  
  <p>Background: We are in the process of switching from Spring/Spring DM to Spring/Blueprint. I am aware of Blueprint defining a <code>&lt;bean&gt;</code> element. However we occasionally face the situation that the limited bean definition capabilities of the Blueprint specification do not meet all our needs. So it seems to be a good choice to use Spring configuration within our bundles and Blueprint for wiring bundles via OSGi services.</p>