This chapter moves beyond the notion of bundles and presents the concept of services. Services further decouple bundles by allowing them to collaborate without depending on a particular implementation or packaging. This in turn makes your systems more flexible and opens the door to dynamic collaboration, updating, extension, and reconfiguration.
The goals of this chapter are to
• Introduce services and their use
• Refactor the implementation of Toast to use services
• Discuss the dynamic behavior of services and show some of the application design points that promote and inhibit dynamism