Hi,

Sten Roger Sandvik schrieb:
> Was just looking at the current Felix WebConsole and noticed that it is
> using just servlets with mostly inlined html code.

Yes, on of the goals of the WebConsole is (and was) that it is as
self-contained as possible (actually the console itself currently only
depends on a OSGi HttpService service and the Servlet API).

Supporting plain Servlets is another attempt in this direction: plugins
should have as minimal dependencies for management as possible.
Therefore the only dependency is again the Servlet API.

 Are there any plans for
> using a more component oriented approach for building the webconsole? Like
> using wicket, vaadin or something else? It would be really nice if plugins
> can use real components instead of plain html. More maintainable for sure.

There are no concrete plans for extensions. Currently we use JQuery (and
plugins) to support more elaborate UI support (such as table sorting).

Of course, nothing prevents a plugin from making use of UI toolkits --
as long as the plugin is registered as Servlet - the web console does
not care whether the Servlet service is itself rendering or the servlet
is just a bridge servlet.

Of course contributions for web console extensions in these directions
would be welcome (I myself am considering every now and then how the
scripting infrastructure of Sling (based on Java Scripting API) may be
leveraged for plugins).

Regards
Felix

Reply via email to