O'Reilly logo

OSGi and Equinox by Simon Archer, Paul VanderLei, Jeff McAffer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 18. HTTP Support

In Chapter 7, “Client/Server Interaction,” we saw how to set up a simple client/server system using the OSGi HttpService. In Chapter 12, “Dynamic Configuration,” Toast used the HttpService to present a simple web UI for configuring the client’s tracking frequency. In this chapter we take a deeper look at this service and how to make the most of its capabilities.

The HttpService has been part of the OSGi specification since its inception. It allows applications to register servlets and resources to be served in response to HTTP requests. Since OSGi has always been about network-aware gateway devices, support for HTTP makes sense. In the broader enterprise and distributed application context, HTTP has proved to be a good ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required