Eclipse 4 Dependency Injection

Something else that’s completely new to me in Eclipse 4 is dependency injection (DI). This is used to prevent classes having to implement and extend other defined classes in order to provide the expected functionality of eg a View or a Handler. With DI you can write POJOs and still allow the Eclipse framework to execute the correct methods when certain actions are required. You can also ‘easily’ inject objects that remain persistent across classes within your application. Continue reading