The architecture of CDO is strongly influenced by the concepts of the OSGi specification. The modules of CDO are OSGi bundles, including Eclipse plugins, and the easiest way to execute CDO applications is to deploy these bundles to an OSGi or Eclipse installation. Despite this capability care has been taken that all the core modules (that is everything except the user interface) can also be used in standalone applications outside of an OSGi bundle container.
The architecture of CDO is strictly layered where each layer is potentially replaceable or extendable. The basic layers are (top-down):
- CDO User Interface (Eclipse RCP based)
- CDO client (EMF model integration and programmatic repository access)
- CDO protocol (Net4j based binary application protocol)
- CDO server (Repository and session management)
- CDO storage framework (Connection to various types of persistent storage like relational databases)
Each layer carefully attends to proper separation of public API and internal implementation. Together this makes CDO a very flexible technology that can easily be extended or taylored to meet specific environmental needs. There are many different assemblies possible, though a typical 3-tier deployment could look like these stacks: