The Initializer Pattern in Java

Posted on Sat 18 March 2017 in Design Patterns • Tagged with builder pattern, Heinz Kabutz, initializer, Java

A "type-safe builder pattern in Java".

What's up with DTOs?

Posted on Sat 19 March 2016 in Design Patterns • Tagged with Adam Bien, DTO, Eclipse RCP, EMF, JavaEE, Martin Fowler

Having worked a lot with EMF and Eclipse RCP applications based on EMF as the framework of choice for transferring domain models into code, I never got in touch with real-life examples of Data Transfer Objects (DTOs). I was familiar with the pattern in theory, but I never saw a …

Continue reading

Can There Be Too Much of a Good Thing?

Posted on Wed 16 March 2016 in Design Patterns • Tagged with Java, JavaFX, UI

I recently worked on JavaFX UI code that was new to me. In order to extend the existing UI by a simple label, I needed access to a bean of the underlying data model. Much to my surprise, I had to dig deep to find it hidden under multiple layers …

Continue reading