Category Archives: OSGi

Posts about OSGi

Getting Started with OSGi Remote Services – enRoute Maven Archetype Edition

At the EclipseCon Europe 2016 I held a tutorial together with Peter Kirschner named Building Nano Services with OSGi Declarative Services. The final exercise should have been the demonstration of OSGi Remote Services. It actually did not really happen because … Continue reading

Posted in Dirk Fauth, Eclipse, Java, OSGi | Comments Off on Getting Started with OSGi Remote Services – enRoute Maven Archetype Edition

Getting Started with OSGi Remote Services – Bndtools Edition

At the EclipseCon Europe 2016 I held a tutorial together with Peter Kirschner named Building Nano Services with OSGi Declarative Services. The final exercise should have been the demonstration of OSGi Remote Services. It actually did not really happen because … Continue reading

Posted in Dirk Fauth, Eclipse, Java, OSGi | Comments Off on Getting Started with OSGi Remote Services – Bndtools Edition

Getting Started with OSGi Remote Services – PDE Edition

At the EclipseCon Europe 2016 I held a tutorial together with Peter Kirschner named Building Nano Services with OSGi Declarative Services. The final exercise should have been the demonstration of OSGi Remote Services. It actually did not really happen because … Continue reading

Posted in Dirk Fauth, Eclipse, Java, OSGi | Comments Off on Getting Started with OSGi Remote Services – PDE Edition

Eclipse Extended Contribution Pattern

Working in the Panorama project, we developed several architectures and designs to improve the collaboration of heterogeneous systems. Although focused on automotive and the aerospace scope, several topics are useful in general, like for example the pipelining of model processing services … Continue reading

Posted in Dirk Fauth, Eclipse, Java, OSGi, Other | Comments Off on Eclipse Extended Contribution Pattern

Eclipse RCP, Java 11, JAXB

With Java 11 several packages have been removed from the JRE itself, like JAXB. This means if you use JAXB in your Java application, you need to add the necessary bundles to your runtime. In an OSGi application this gets … Continue reading

Posted in Dirk Fauth, Eclipse, Java, OSGi | 2 Comments

Inspecting the OSGi runtime – New ways for Eclipse projects

I often get asked how to find and solve issues in an OSGi runtime. Especially with regards to OSGi services. I then always answer that you have two options: Use the Gogo Shellscr:list – lists all DS componentsscr:info <id> – … Continue reading

Posted in Dirk Fauth, Eclipse, Java, OSGi | Comments Off on Inspecting the OSGi runtime – New ways for Eclipse projects

Build REST services with OSGi JAX-RS whiteboard

Some years ago I had a requirement to access the OSGi services inside my Eclipse application via web interface. Back then I used the OSGi HTTP Whiteboard Specification and wrapped a servlet around my service. Of course I wrote a … Continue reading

Posted in Dirk Fauth, Java, OSGi | Tagged , , | Comments Off on Build REST services with OSGi JAX-RS whiteboard

Building a “headless RCP” application with Tycho

Recently I got the request to create a “headless RCP” application from an existing Eclipse project. I was reading several posts on that and saw that a lot of people using the term “headless RCP”. First of all I have … Continue reading

Posted in Dirk Fauth, Eclipse, Java, OSGi | Comments Off on Building a “headless RCP” application with Tycho

POM-less Tycho enhanced

With Tycho 0.24 POM-less Tycho builds were introduced. This Maven extension was a big step forward with regards to build configuration, as plugin, feature and plugin test projects don’t need a dedicated pom.xml file anymore. Therefore there are less pom.xml files … Continue reading

Posted in Dirk Fauth, Eclipse, OSGi | 1 Comment

OSGi Event Admin – Publish & Subscribe

In this blog post I want to write about the publish & subscribe mechanism in OSGi, provided via the OSGi Event Admin Service. Of course I will show this in combination with OSGi Declarative Services, because this is the technology … Continue reading

Posted in Dirk Fauth, Eclipse, Java, OSGi | 2 Comments