Niclas Hedhman wrote:
On Monday 26 September 2005 04:20, Upayavira wrote:
Surely, if, in an OSGi scenario, if a block needs a servlet, it should
register it directly with the OSGi servlet container service, rather
than messing with Cocoon's web.xml?
Has it been sorted out how OSGi platform will be positioned in relation to the
Cocoon Servlet?? I.e. Is Cocoon a plain servlet capable of running in the
OSGi standard HttpService? Is OSGi runtime platform running embedded inside
the CocoonServlet? Both? Other?
If OSGi is embedded in the Servlet, it seems 'difficult' to provide a bridge
between the outer servlet container and the OSGi HttpService. Does the
servlet spec even allow runtime access to configuration and management yet
(have not looked at it since 2.1 or something)?
Personally, I don't care if Cocoon would be stand-alone, but I think a lot of
people would call it regression and get upset ;o)
Well, we have briefly talked about the fact that we need to support both
scenarios. We need to be able to run the Cocoon servlet within an OSGi
framework, and this will probably be the default option, and we also
need to support running an OSGi framework within a servlet (and a Cocoon
servlet within that OSGi framework), for those that _must_ run Cocoon in
a servlet container, such as JBoss, etc.
Regards, Upayavira