Category Archives: Eclipse

All Eclipse related posts

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

Access OSGi Services via web interface

In this blog post I want to share a simple approach to make OSGi services available via web interface. I will show a simple approach that includes the following: Embedding a Jetty  Webserver in an OSGi application Registering a Servlet … Continue reading

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

OSGi Declarative Services news in Eclipse Oxygen

With this blog post I want to share my excitement about the OSGi DS related news that are coming with Eclipse Oxygen. I want to use this blog post to inform about the new features and also the changes you … Continue reading

Posted in Dirk Fauth, Eclipse, Java, OSGi | 1 Comment

Control OSGi DS Component Instances via Configuration Admin

While trying to clean up the OSGi services in the Eclipse Platform Runtime I came across the fact that singleton service instances are not always feasible. For example the fact that the localization is done on application level does not work … Continue reading

Posted in Dirk Fauth, Eclipse, Java, OSGi | 1 Comment

Control OSGi DS Component Instances

I recently came across some use cases where a more fine grained control is needed for component instance creation. I spent some time in investigating how this is done with OSGi Declarative Services in detail. It turned out that it … Continue reading

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

New Java index now used in Eclipse 4.7 for caching JAR information

Stefan Xenos from Google reports that the JDT index is being used as a cache for the majority of .jar file access. This should significantly speed up the usage of the Eclipse Java tooling. Please download the latest I-Build from … Continue reading

Posted in Eclipse, Lars Vogel | Comments Off on New Java index now used in Eclipse 4.7 for caching JAR information

New year resolution for using Eclipse – Hiding the toolbar

Happy 2017. For this year I plan to use Eclipse without toolbar. I think this will enforce me to use more shortcuts, e.g. for perspective switching, for starting the last run porgram and the like. Also it gives me more … Continue reading

Posted in Eclipse, Lars Vogel | 2 Comments

Dependency injection for Eclipse 3.x views available for Eclipse 4.7 M3

You can now use dependency injection (di) in your Eclipse 3.x. views.You can enable this for a view via the new inject flag in the org.eclipse.ui.views extension. public class SampleView extends ViewPart { @Inject IWorkbench workbench; private TableViewer viewer; @Override … Continue reading

Posted in Eclipse, Lars Vogel | Comments Off on Dependency injection for Eclipse 3.x views available for Eclipse 4.7 M3

Welcome Sergey Prigogin from Google in the PMC of the Top-Level Eclipse Project

I would like to welcome Sergey in the Eclipse Project Management Committee (PMC) for the Eclipse Top Level Project. I think of Sergey as a friend and I’m very happy that he joins our team. Based on what I have … Continue reading

Posted in Eclipse, Lars Vogel, Other | Comments Off on Welcome Sergey Prigogin from Google in the PMC of the Top-Level Eclipse Project

Configuring OSGi Declarative Services

In my blog post about Getting Started with OSGi Declarative Services I provided an introduction to OSGi declarative services. How to create them, how they behave at runtime, how to reference other services, and so on. But I left out … Continue reading

Posted in Dirk Fauth, Eclipse, OSGi, Other | 9 Comments