Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OSGi: Blueprint vs. Spring DM

I am a little bit confused about Blueprint and Spring DM:

From what I think is true:

  • Spring DM is a framework defined by Spring Source
  • Blueprint is a framework defined by the OSGi Alliance
  • Blueprint has "taken" many of it's ideas from Spring DM

No?

Can we expect that those two frameworks become one in the future (merge)? If not, which one will be the most future-proof?

like image 765
Frizz Avatar asked Apr 04 '12 09:04

Frizz


People also ask

What is OSGi blueprint?

Overall, the OSGi Blueprint Container Specification describes an application architecture in which application modules are implemented as OSGi bundles with a module blueprint (the configuration information) and a runtime context that is created from that blueprint.

What is Spring DM?

Spring Dynamic Modules (Spring-DM) brings Spring and OSGi together to enable a declarative service model for OSGi that leverages Spring's power of dependency injection. This reference card will be your resource for working with Spring- DM to wire together OSGi services and ultimately building modular applications.


1 Answers

OSGi 4.2 introduces the Blueprint Service specification based on Spring Dynamic Modules project for which Spring DM (2.x) is the Reference Implementation (RI).

In short: Blueprint is a specification, Spring DM is an implementation of Blueprint API

like image 108
Dmytro Pishchukhin Avatar answered Sep 19 '22 06:09

Dmytro Pishchukhin