Magic-less Dependency Injection with JayWire

JayWire is a small, easy to use magic-less Dependency Injection library for Java 8. This article is a short tutorial on how to get started using it in projects of any size from small single- to large multi-module ones. Why another Dependency Injection library? Interestingly enough, the key feature of JayWire is not that it … Continue reading Magic-less Dependency Injection with JayWire

A story of Checked Exceptions and Java 8 Lambda Expressions

Image you are writing a small, awesome Transaction Management library to be used in a project you are working on. You want to provide an easy and safe way for your colleagues to get an SQL Connection from the current transaction, use it, and then close it when the processing is done. The very first … Continue reading A story of Checked Exceptions and Java 8 Lambda Expressions

Evil Annotations

When Java 1.5 introduced Annotations, Enterprise Developers had high hopes that it would make their life developing EJBs and other Enterprise Artifacts much easier. See for example this contemporary article: Simplify enterprise Java development with EJB 3.0. Since then however, using Annotations the way Java Enterprise started to use them had some unforeseen consequences and … Continue reading Evil Annotations