The Eclipse plug-in manifest is also known as OSGi Manifest(Although the page says OSGi bundle, some of the described features are specific for Eclipse). In an earlier article I already addressed some of these issues. With this one I want revisit those and describe some more features, that I found helpful in my daily work with plug-in development. „Eclipse plug-in manifest“ weiterlesen
Createing Java Emitter Templates
There are many ways you can go about to produce your Java Emitter Template (JET). During the process of developing my plug-in I gathered some experience that might make the process of creating a JET easier.
„Createing Java Emitter Templates“ weiterlesen
Immutable Objects in a class hierarchy
I have a project that has data objects that are implemented as beans. These classes form the base of a whole class hierarchy. Reading Joshua Bloch’s book „Effective Java“ I recognised this as a bad architecture. I decided to combine different items from the book: immutable object, builders and components instead of class hierarchy.
„Immutable Objects in a class hierarchy“ weiterlesen
Combining Immutable Singleton and Builder
It is a good idea to use immutable objects where possible to reduce the amount of time you loose debugging because some value is not as expected and trying to find out where it has changed. It is also sensible to use a builder for some class with many members to be initialized at constructing time. It may even make sense to implement your object as a singleton. All these techniques are promoted by Joshua Blochs Effective Java. But can you combine these three items to work together?
„Combining Immutable Singleton and Builder“ weiterlesen
Effective Eclipse Plug-ins
The architecture of Eclipse and the structural concept of the underling OSGi framework are sometimes hard to combine with „effective Java“ programming as Joshua Bloch propagates it in his book „Effective Java„.
When you want to extend the functionality you must make certain compromises designing your API. This article describes how you can implement functionality with exposing a minimal API.
„Effective Eclipse Plug-ins“ weiterlesen