On Wed, Dec 15, 2010 at 11:19 AM, Marcel Offermans <marcel.offermans at luminis.nl> wrote: > I was talking about RFC-138 which discusses Framework Hooks. There are > several new hooks being proposed there. This is available as OSGi 4.3 early > draft 2. > > Why embedded containers are out? I have not been part of the spec > discussions, but most likely they could not fulfill all requirements (in > RFC-138) with that approach.
Aha! Found this (http://blog.akquinet.de/2009/10/21/the-osgi-framework-multiplication-a-rfc-138-overview/) presentation on the topic. Not the 4.3 spec... guess it is not public yet? > >From experience, nested frameworks do work, but if anything in the parent > >changes, you still need to restart all child containers. Furthermore, there > >is very little in terms of tooling available for managing nested containers. > >We tried the approach in ACE for a while, and did not continue with it > >because of that last fact. Yea, I now restart all tenants upon refresh in parent container. Guess it could be a litlle more subtle, but is is really must diffrent to a flat container in terms of lifecycle? In the latter case a rewire also requires a stop/start of each bundle and thus service? What kind of tooling did you find missing? I was pondering one a shell (command) that lets you cd into a tenant. Right now I'm using the remote shell as a workaround. Futhermore the standard sling webconsole want be suffiecient. More.. ? Regards, Bram

