Building Nano Services with OSGi Declarative Services

OSGi declarative services exist for a long time and are used to implement a modular service-oriented architecture. Because of the supported dynamics, the easy way to define, register and consume services, declarative services can be found in various scenarios. Using several of the long time existing specifications like Declarative Service, ConfigurationAdmin and Remote Service Admin, it is also easy to setup the currently hyped micro services by using OSGi declarative services.

In this session we will give an introduction to declarative services in general and create some services in our favourite IDE. We will create and use them in combination with DS annotations. As Eclipse PDE supports DS annotations out of the box since Neon, we will prepare the tutorial in a way that both Eclipse RCP and plain OSGi developers can benefit. So every step of the tutorial will be shown in PDE and Bndtools in parallel. The main focus of the tutorial is to get started with declarative services. The tooling at this part shouldn't be the limiting factor.

I published a Getting Started Tutorial that covers in general the contents of this session:

But we we also plan to extend that with examples on configuration and debugging, to have a good overview of the capabilities.

Schedule info
Session Time Slot(s): 
Tuesday, October 25, 2016 - 09:00 to 12:00

Our Sponsors

For information about becoming a sponsor, please visit the EclipseCon Europe 2016 sponsor prospectus page.

Elite Dual ECE/OSGi CE



Project Quality Day

IoT Theme Day


EclipseCon Support Other Events

Our Other Events

Eclipse events are hosted all over the world!

  • EclipseCon Europe 2018