Java monolith to microservice refactoring with Eclipse tooling

As a developer working heavily with OSGi and Eclipse RCP, I’ve spent a lot of time breaking monolithic applications into modules. What I’ve found is that OSGi and it’s associated Eclipse tooling (primarily the Plug-in Development Environment or PDE) are very good at enabling the kind of fine-grained refactoring moves that allows such projects to… Continue reading Java monolith to microservice refactoring with Eclipse tooling

A simple auto-updater for Eclipse RCP applications

One of the most common requests I get from my consulting clients is for an easy way to auto-update deployed Eclipse RCP applications. Particularly in enterprise environments these clients have many deployed installations and often require different feature sets deployed to different user groups. I’ve found that for most of my clients a very simple… Continue reading A simple auto-updater for Eclipse RCP applications

Eclipse RCP and REST – Updated start levels for newest Jersey Client release

For those of you who have been working with the ECF Remote Services JAX-RS Jersey Client, I hope you’ve been finding it useful. Of course, feedback is always appreciated! If you’re wondering what this client is all about, here are some links to my previous posts: Eclipse RCP and REST – An Introduction Eclipse RCP… Continue reading Eclipse RCP and REST – Updated start levels for newest Jersey Client release

Testing Eclipse RCP applications with the Mockito JUnit 5 extension

In an earlier post I showed how to add Mockito to Eclipse target definitions. This allows plug-in developers to write and run Mockito-based unit tests both inside the Eclipse IDE and in Maven Tycho builds. There was, however, one missing piece to this functionality – the ability to run tests using the Mockito JUnit 5… Continue reading Testing Eclipse RCP applications with the Mockito JUnit 5 extension

Including Maven artifacts in an Eclipse RCP target platform

One of the most difficult issues facing Eclipse RCP developers has been how to consume third-party libraries. We often want to use JAR files not available as OSGi plug-ins (missing OSGi metadata) or that are not available in a p2 repository. So far, our options have included: Accessing a JAR file in Eclipse Orbit. For… Continue reading Including Maven artifacts in an Eclipse RCP target platform

Eclipse RCP and REST – Default properties make configuration even easier

This is a continuation of a series of blog posts demonstrating the use of the ECF Remote Services JAX-RS Jersey Client within an Eclipse RCP application. The previous posts are: Eclipse RCP and REST – An Introduction Eclipse RCP and REST – Making Asynchronous Calls Eclipse RCP and REST – JAX-RS Extensions Eclipse RCP and… Continue reading Eclipse RCP and REST – Default properties make configuration even easier

Adding support for Mockito to an Eclipse target definition

In my previous post I showed how to add JUnit support to Eclipse target definitions. This allows plug-in developers to write and run unit tests (both regular and in-container) using all of the tools available in the Eclipse IDE. I had a request to show how to add Mockito to the mix, so here it… Continue reading Adding support for Mockito to an Eclipse target definition

Modifying an Eclipse target definition to support JUnit

The Eclipse IDE has great tooling for writing and running JUnit tests. For most Java developers this tooling works without any issues, but things get a bit more complicated when working with Eclipse Plug-ins or OSGi bundles in general. The reason for this is that plug-in/bundle developers, including most Eclipse RCP developers, will be using… Continue reading Modifying an Eclipse target definition to support JUnit

Eclipse RCP and REST – Improved ECF support for properties and profiles

This is a continuation of a series of blog posts demonstrating the use of the ECF Remote Services JAX-RS Jersey Client within an Eclipse RCP application. The previous posts are: Eclipse RCP and REST – An Introduction Eclipse RCP and REST – Making Asynchronous Calls Eclipse RCP and REST – JAX-RS Extensions The REST calls… Continue reading Eclipse RCP and REST – Improved ECF support for properties and profiles

Using Dependency Injection in RCP 3 Views and Editors

Most of the teams I work with are creating hybrid Eclipse RCP applications, meaning that they’re working with a combination of the base RCP 4 platform and the Compatibility Layer which supports the traditional extension points and frameworks that the Eclipse IDE itself is based on. But in these hybrid applications, there is still a… Continue reading Using Dependency Injection in RCP 3 Views and Editors