Dependencies in a Three Tiered Application

When people working on a multitiered application get asked to draw their architecture, often something like this emerges: UI -> Domain -> Persistence This is all nice until you start to wonder what the arrows actually mean. Is it data flow? Probably not, except when you are working on an application that takes input, stores [...]

Writing Parameterized Tests with JUnit Rules

I can’t help repeating myself: JUnit Rules are among the best, maybe the best, feature of JUnit. I even gave a talk at Devoxx about Junit Rules. The great thing about Rules compared to other options to solve similar problems like TestRunners or common super classes is that you can combine multiple Rules. One favorite [...]

Baby Steps, Reverse Refactoring and DNA

Last Week I was for two days at the XP-Days Germany. A great fun conference. Highly recommended. Especially if you prefer highly interactive sessions over somebody telling you how to do your day job right. One of the highlights for me was the session Taking Baby Steps by Adrian Bolboaca. It was a hands on [...]