Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
In this chapter, we’ve shown you how to build web applications and web services that take advantage of the OSGi framework. We built on the advanced features of the OSGi framework and demonstrated the extensibility of the OSGi framework, including the following topics:
Using the HTTP Service to provide static resources and simple servlet-based applications in an OSGi framework
Using the Pax Web extensions to the HTTP Service to deploy JSP applications in an OSGi framework
Converting a more complex WAR-style application based on the stock-watcher application for the Google Web Toolkit into a web application bundle
Exporting a local OSGi service into a remote JVM using a Remote Services distribution provider, which, thanks to the flexibility of service-based programming, required no changes to the client application
Examining at a high level the mechanics of implementing an OSGi Remote Services distribution provider