OSGi Deklarative Services oder Blueprint

hueck

Mitglied
Hallo,

ich bin gerade dabei mich in das Thema OSGi einzuarbeiten, und bin jetzt auf DS bzw. Blueprint gestossen und irgendwie ist mir der Unterschied nicht klar.

Das einzig brauchbare was ich dazu gefunden habe ist folgendes

A key difference between the Blueprint Service and Declarative Services is when the instantiation of components appear. With Blueprint, the components are created as soon as the bundle is loaded; if there are any dependent services that are not present, there is a proxy which is bound and defers dynamically when a service becomes available. If a service is not present, calls to the proxy will hang until one is available.
Declarative Services, on the other hand, will not create a component until all of its dependent services are available.

Quelle: Blueprint - OSGi Community Wiki

Was gibt es sonst noch für Unterscheide bzw. Vor/Nachteile und welches der beiden ist zu bevorzugen?

Danke und Gruss
 
G

Gast2

Gast
Bei Blueprint kannst du nicht Service in den XMl deklarieren sondern auch Beans. Also kann Blueprint eben mehr als nur DS.
 

Ähnliche Java Themen

Neue Themen


Oben