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 ...
Get OSGi and Equinox now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.