I second Christan on thsi, DependencyManager will help you as does Pax-Swissbox for ServiceTracking. And it'll work on any OSGi framework, that's the sweetness of OSGi as long as you depend on services you can use whatever framework you want, so the Felix DependencyManager should also work on Knopflerfish. If not I would raise a Issue for that instantly :D
regards, Achim 2014-12-05 9:03 GMT+01:00 Christian Schneider <[email protected]>: > While I agree that it is better to use a standard like declarative > services I do not think you lock yourself in using DependencyManager. > As far as I know DependencyManager comes in separate bundles and should > also work on equinox. > > Christian > > > On 04.12.2014 23:59, [email protected] wrote: > >> Knopflerfish ;-) >> >> Seriously, if I just need an OSGi framework then I tend to use KF because >> I have used it for so long in the embedded space. Of the two you mention I >> would go for Felix because the primary focus is still OSGi, while Equinox >> is both an OSGi framework and a component of the Eclipse runtime. >> >> In both cases you need to be aware that they offer features beyond what is >> specified by OSGi, so if you do not pay attention you may end up locking >> yourself into that particular framework. Felix for example has this very >> nice Dependency Manager, but if you use this directly (as opposed to via >> DS for example) you will end up with bundles which only run on Felix. >> Worse still, if you develop with Eclipse PDE and Equinox you can easily >> end up developing stuff which is not just 1) non-portable to another OSGi >> framework but also 2) not really OSGi at all; I am thinking of split >> packages, Require-Bundle, ... >> >> So whatever you choose, be careful how you use it. >> >> Chris >> >> >> >> > > -- > Christian Schneider > http://www.liquid-reality.de > > Open Source Architect > http://www.talend.com > > -- Apache Member Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead blog <http://notizblog.nierbeck.de/> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> Software Architect / Project Manager / Scrum Master
