no

Introducing Lombok in Spring

1. Overview Lombok is a Java library that simplifies a lot of things for developers. Like the automatic creation of getters/setters, con...

1. Overview

Lombok is a Java library that simplifies a lot of things for developers. Like the automatic creation of getters/setters, constructors, etc. For a more detailed list of features click on the reference below.

2. Lombok Installation


After that make sure to close Spring STS and run with -clean parameter to enable the plugin.
>sts.exe -clean

3. Spring Project

To demonstrate the power of Lombok library I created a Spring REST API demo project that features a REST API where the entity fields have auto getter/setter generation.

As a bonus, this project is also HATEOS enabled.

The project is available at https://github.com/czetsuya/Spring-Lombok.

References:

Related

spring-getting-started 5004009207728292530

Post a Comment Default Comments

item