Apache Celix Examples

The Examples subproject contains several examples showing how Celix and the subprojects can be used.

The following Examples are available:

  • Echo Service
  • Hello World
  • Component Testing
  • Mongoose
  • OSGi In Action
    • Chapter 1 - Greeting Example
    • Chapter 4 - Correct listener
    • Chapter 4 - Correct Lookup
    • Chapter 4 - Paint Example
  • Receiver
  • Sender
  • Whiteboard Example

Building

To build the Examples the CMake build option "BUILD_EXAMPLES" has to be enabled.

Dependencies

The Examples depend on the following subprojects:

  • Framework
  • Utils
  • Dependency Manager
  • Shell
  • Shell TUI
  • Log Writer
  • Log Service

Also the following libraries are required for building and/or using the Examples subproject:

  • Apache Portable Runtime (build and runtime)
  • GTK2 - 2.14 or higher (build and runtime)

Needed by "Chapter 4 - Paint Example"