August 2001
Intermediate to advanced
480 pages
9h 14m
English
To write applications for an OSGi service framework is to develop bundles. The programming model is component-based, in contrast to the library-based model. Figure 3.12 illustrates the typical structures of the two models.

In a library-based model, we approach an application such as a word processor by designing and developing a collection of classes that are roughly divided into various functional modules or libraries (for example, print, format, utilities, and so on; see Figure 3.12a). Although the modules could be designed into components ...
Read now
Unlock full access