I would even leave out scr and implement features core with pure OSGi APIs.
Of course we could still refactor all other modules to scr but I think it makes sense to
not depend on any DI framework in the core.

Christian


On 16.01.2014 15:52, Ioannis Canellos wrote:
Well, the minimal distribution we have "was always meant" to be the
minimum possible distro, that could allow everything else to start via
features. So I am 100% aligned with Christian on this.

The only reason that the minimal distribution does not look like this
already, is that it has been a bit painful to isolate and decouple
parts of Karaf from each other.

So the minimal distro could just be: osgi framework + config admin +
scr + pax-url + karat features.

In my demo branch (https://github.com/iocanel/karaf/tree/karaf-light)
it looks like this with the addition of shell, but that can be made
optional too.

@Achim: Even though I see real value in such a thin server . The real
value comes from making Karaf so modular that it makes the extremely
thin server possible ;-) Don't forget that we are building a runtime
for modular applications, making the runtime itself modular is a must
imho.



--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com

Reply via email to