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 7. Client/Server Interaction

At this point Toast operates as a stand-alone application. To fully implement the emergency scenario, however, we need a service center to which we can report emergencies. In this chapter we implement a separate OSGi runtime to be that service center. By chapter’s end, the client’s emergency application is sending emergency information to the service center using simple HTTP for communications.

Since Toast is growing in size and complexity, it’s also the right time to introduce some effective patterns for handling configurable runtime parameters as well as logging.

The goals of this chapter are to

• Implement the service center as a separate runtime, using OSGi and servlets

• Enhance the client side to allow ...

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