Registering a servlet with the HttpService manually

Using the Pax Web whiteboard extender

The Pax Web whiteboard extender is part of the war feature. So use the following command to install:

root@karaf> features:install war

The Pax Web whiteboard extender listens to servicesof interface type HttpServlet and Filter.It will register each of these interfaces with the HttpService and remove them as soon as the service goes down.So it is much more convenient than registering with the HttpService directly.