Alex Rivera | Logout

OSGi: Does Blueprint replace Declarative Services?

Asked 2009-10-19T06:43:18.493
23

The new R4.2 spec for OSGi describes the Blueprint service, for dependency injection and service wiring.

Does Blueprint replace Declarative Services (which is still part of the spec, as well), or are they intended to work together?

Is Blueprint already available for the popular implementations (Felix and Equinox)?

Edit
Report

1 Answer

0

Another issue is that blueprint services -as far as I know- are all present in one container, the blueprint container- while declarative services are made available in the bundles that reference them. Especially with Equinox this results in different behavior. DS should be used over blueprint when you want to adhere to the strict class-loading approach that equinox advocates.

answered 2013-04-17T13:25:50.947

Your Answer