- Java SDK version 1.5 or later. If necessary, download and install the Java SE Development Kit (JDK) for your platform.
- The iPOJO component model.
- Apache Maven2 is also necessary to build your projects. If you don't already have it, install Apache Maven2, and follow the Maven in 5 minutes tutorial.
Download and Install Cilia Platform
- Get the latest stable distribution (set of Cilia bundles) from here. With Felix 3.2.2 and iPOJO 1.8.0.
- Or get the bundles separately and use your preferred OSGi distribution. For example, in Felix distribution you only have to put them into the bundle directory.
- Cilia is formed by the next bundles:
|cilia-core||1.5.2||Cilia core bundle.|
|cilia-runtime||1.5.2||The Cilia runtime.|
|cilia-remote||1.5.2||The Cilia REST Service Using RoSe. For more information see Cilia_REST.|
|ea-adapter||1.5.2||An Event-Admin Adapter and linker.|
|jms-adapter||1.5.2||An JMS Adapter and linker using JORAM 5.7.|
You can also get the code of Cilia and build it by yourself. Source code is available here.
Preconfigured Cilia Platform
A preconfigured Cilia distribution is also available, it is based in the Felix OSGi distribution. It includes the necessary bundles to run the Cilia framework. Simply download and unzip the Cilia Standard Distribution .
Distribution files and directory structure
The Cilia distribution is composed of the following directories and file:
cilia.bata simple Cilia launcher.
ciliaDebug.bata launcher with debug parameters.
bin: binary file that embed Apache Felix OSGi framework.
bundle: contains all the bundles of the distribution. They are automatically loaded and executed when lunching the platform.
load: this directory is used for the hot deployment of bundles and mediation chains (file with
.dsciliaextension). If it does not exist, it must be created.
conf: contains configuration file (config.properties). This is where you can configure the execution platform before running it.
Running Preconfigured Cilia distribution
You can also launch it using the following command line In Linux
When the platform is ready, type the following command
lb to show the installed bundles.