OSGi: Blueprint vs. Spring DM

前端 未结 5 715
说谎
说谎 2021-01-30 17:24

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
  • B
5条回答
  •  无人及你
    2021-01-30 17:32

    Blueprint was developed in the OSGi Alliance under the lead of SpringSource/Interface21.

    However, if you're looking for a way to leverage OSGi use Declarative Services (DS) with annotations between bundles (services). In my experience, you do not really need the wiring XML when you make small cohesive bundles. DS is much better in working with services than Blueprint/Spring DM since they tend to to want to "hide" the dynamicity while DS just makes it trivial to use.

提交回复
热议问题