C H A P T E R  4

The OSGi Framework

The OSGi Framework provides a modular runtime environment. An application built on the OSGi Framework is developed in a modular way—in the form of bundles—so the OSGi Framework is comparable to the module system of the NetBeans Platform. An OSGi bundle matches the principle of a NetBeans module. The OSGi Framework has been widely adopted because of its standardization by a consortium of companies. By now, it is accepted as an official dynamic component model for Java through the Java community process as JSR 291.

However, this chapter will not discuss the OSGi Framework in too much detail (there is plenty of information specific to OSGi already available). Instead, it will demonstrate the possibilities of ...

Get The Definitive Guide to NetBeans™ Platform 7 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.