August 2001
Intermediate to advanced
480 pages
9h 14m
English
We mentioned that bundles are insulated from each other because they have their own class loaders. However, bundles and their services also need to cooperate with one another to achieve some overall functionality. One practice is to build an application using bundles as the building blocks: Common operations are factored out and programmed into a set of basic modules; more sophisticated and high-level bundles then rely on the basic modules to get their work done.
For example, imagine that we want to develop a streaming audio service that may depend on, say, an HTTP service to make MP3 files available for remote players.[3] However it is not desirable to package the HTTP service into the streaming audio ...
Read now
Unlock full access