JEP-395 in Java 16 brought us records to store and model immutable data, allowing developers to replace POJO's in many cases.
In this lightning talk we'll cover the benefits of records, when to migrate towards them and when to retain POJO's. Ensuring your collections are immutable is also covered, as well as how Lombok could still fit in.
We'll also cover the various ways to migrate your old code, or prepare them for a later migration easing the amount of work while gaining the maximum amount of benefits from records.
In this lightning talk we'll cover the benefits of records, when to migrate towards them and when to retain POJO's. Ensuring your collections are immutable is also covered, as well as how Lombok could still fit in.
We'll also cover the various ways to migrate your old code, or prepare them for a later migration easing the amount of work while gaining the maximum amount of benefits from records.
Johan Hutting
ING
Developer advocate with more than 15 years of experience designing, developing and maintaining Android, Java SE/EE and Spring applications. Strong focus on getting things done with the Agile mindset. Love to share knowledge on the latest Java language, EE and Spring improvements by giving workshops and talks as well as participating in them.