Programmer DD
Programmer DD
Jan 10, 2024 · Backend Development

Can Java Records Replace Lombok? A Practical Comparison

This article compares Java's native record feature with the Lombok library, showing how records can reduce boilerplate code, outlining scenarios where records can replace Lombok, and discussing the limitations of each approach for clean and maintainable backend development.

JavaJava 16backend
0 likes · 8 min read
Can Java Records Replace Lombok? A Practical Comparison
Programmer DD
Programmer DD
May 10, 2022 · Backend Development

Master Java Records: Simplify Immutable Classes in Java 16+

This article explains the new Java 16 record keyword, showing how to declare records, their automatically generated methods, and how to add custom behavior, with clear code examples and testing tips for creating concise, immutable data classes.

JavaJava 16immutable class
0 likes · 5 min read
Master Java Records: Simplify Immutable Classes in Java 16+
Programmer DD
Programmer DD
Sep 29, 2021 · Backend Development

Explore Java 11‑17: Key Features, Performance Boosts, and New APIs

This article provides a comprehensive overview of Java versions 11 through 17, highlighting major language enhancements, new garbage collectors, security updates, preview features, and tooling improvements that developers can leverage to write more efficient, secure, and modern Java applications.

FeaturesJDKJava
0 likes · 83 min read
Explore Java 11‑17: Key Features, Performance Boosts, and New APIs
macrozheng
macrozheng
May 27, 2021 · Backend Development

What’s New in Spring Boot 2.5? A Deep Dive into Features and Upgrades

Spring Boot 2.5 introduces major enhancements such as Java 16 support, Gradle 7 and Jetty 10 compatibility, HTTP/2 over TCP, a revamped datasource initialization mechanism, environment‑variable prefixes, Docker build improvements, layered WARs, actuator endpoint changes, extensive dependency upgrades, and several deprecations, while urging careful migration.

DockerJava 16Spring Boot
0 likes · 11 min read
What’s New in Spring Boot 2.5? A Deep Dive into Features and Upgrades
21CTO
21CTO
May 23, 2021 · Backend Development

Unlock Java 9‑16: New APIs, Immutable Collections, and Stream Enhancements

This article introduces Java 9‑16 features such as factory methods for immutable collections, Optional.ifPresentOrElse, new Stream operations like takeWhile/dropWhile and toList, plus enhanced Duration and LocalDate utilities, providing concise, modern code patterns for developers.

DurationImmutable CollectionsJava
0 likes · 5 min read
Unlock Java 9‑16: New APIs, Immutable Collections, and Stream Enhancements