Thanks for the answer Felix, Actually i think you're right, i forgot about the http bridge. And it seems it's quite what i was asking for. I was more thinking about something like discovery of the http service published by the aplication through the system bundle, but i was missing one point : how the request is supposed to be routed to the webConsole. I'll have a look at this.
Thanks again ! Frederic On Fri, Apr 13, 2012 at 7:39 PM, Felix Meschberger <[email protected]>wrote: > Hi, > > Am 13.04.2012 um 14:39 schrieb Frederic Esnault: > > > Hi all, > > I'm wondering if it would be possible to use the webconsole without the > > dependency on the httpService. > > For example, in a webapplication embedding an OSGi framework, we could > make > > the packages and services available to the web console bundle through the > > EXTRA_PACKAGE export of the framework, and publish the service in the > > webapp, through the system bundle. > > > > Could it be a possibility? > > This would be a major refactoring because the Web Console uses the Http > Service to register the console servlet and it uses the HttpContext to > implement the authentication. > > But if you have an OSGi Framework in your web application, why not using > the Http Service bridge ? This requires a bridge servlet in your web > application and the Http Service bridge bundle in the framework. > > Regards > Felix
