This convention is especially useful when writing tests as it allows you to draw a distinction between tests that must take place within an OSGi framework and those that may take place outside of OSGi. bundle-context.xml will be our standard Spring configuration and bundle-context-osgi.xml will contain Spring DM specific configuration.