Karaf directly leverages Pax Web to provide a complete WebContainer service.
With the installation of the war
feature using the following command, Karaf gets full support from the web bundle thanks to the Jetty web container and Pax Web:
karaf@root> features:install war
It's now possible to deploy a web application containing servlet for instance.
Karaf WebConsole is a web application. You can install the webconsole
feature with the following command:
karaf@root> features:install webconsole
With webconsole
, you have the Karaf WebConsole available on http://localhost:8181/system/console
.
Cellar deals with the HTTP layer to provide load balancing and session clustering.