OSGi is a fundamental element in the technology stack of CRX. It is used to control the composite bundles of CRX and their configuration.
OSGi "provides the standardized primitives that allow applications to be constructed from small, reusable and collaborative components. These components can be composed into an application and deployed".
OSGI for beginners also provides an introduction to the general concepts, while OSGi at dev.day covers many aspects.
For CRX this allows easy management of bundles as they can be stopped, installed, started individually. The interdependencies are handled automatically. Each OSGi Component (see the OSGi Specification) is contained in one of the various bundles. For CRX you can manage the configuration settings for such bundles by either:
- configuring content-nodes in the repository (recommended).
- using the Apache Felix Web Console.
The CQ documentation covers OSGi configuration, again these principles can be applied to CRX and its bundles.