Site Archives domain driven design

Leveraging annotations in Java code


In the last few days it I happened to two short discussions on Twitter with Adam Bien (not really a discussion) and Keith Donald (slightly more intesive) on distinct but yet somehow related topics regarding the use of annotations in Java.
Using the right tool for the job
Keith answered my following tweet i posted after revisiting [...]

Clean Code – Review, Part I


As I have twittered already, I am reading “Clean Code” by Robert C. Martin right now. I expected the book to be a very fundamental one. Although there are a few parts I do not entirely agree with, I just rummaged throught chapter 11 “Systems” on my way home and was surprised how condensed Robert [...]

The metadata dilemma


Java EE development has been packed with lots of metadata since day one. Things have changed a lot over times and we have been provided with more elegant solutions. I don’t want to go deeply into the ongoing debate on Annotations versus XML but rather go one step back and discuss metadata on a more [...]

Validating domain objects


Fellow developer David Linsin wrote a blogpost about validation of domain objects recently. I actually wanted to leave him a reply but it got kinda long so I decided to post it here. So this is what came to my mind:
Prototyping some web portal kind of software I’ve encountered a similar situation. Take a User [...]