Skip to content

Monthly Archives: July 2011

Enforcing Fluent API adherence using Interfaces in Java

07-Jul-11

This some considerable noise on the internet about Fluent APIs and using them. There was a question on stackoverflow.com about how to enforce calling all the required methods to guarantee you fully materialize an object when using a Builder Pattern with a Fluent API approach. The appropriate way to achieve this is through Interfaces that [...]