Loading...

Reduce boilerplate code with Lombok

:heavy_exclamation_mark: This post is older than a year. Consider some information might not be accurate anymore. :heavy_exclamation_mark:

On the Javaland Conference 2016 I visited an interesting presentation about RESTful Hypermedia APIs by Kai Tödter. A really refreshing and pragmatic view how to benefit from Hypermedia. An additional insight was the Project Lombok.

Using RESTful Webservices often involves having dedicated value objects or DTOs, that aren’t full blown. Writing getter and setters, having constructors, equals, hashCode and toString methods are for maintenance mandatory. Lombok is great way to reduce the boilerplate code, so you can focus on the real code. Check it out for yourself!

Please remember the terms for blog comments.