- Java 21 Sequenced Collections
1. Introduction Java 21 introduces one of the most overdue additions to the Collections Framework: Sequenced Collections. This feature addresses a problem that has annoyed Java developers for over two decades — there was no uniform way to access the first and last elements of an ordered collection.…
- Java 21 Virtual Threads
1. Introduction For over two decades, Java’s concurrency model has been built on a simple idea: one thread per request. A web server receives an HTTP request, assigns it to a thread, that thread does everything — reads from the database, calls an external API, formats the response — and then…
- Java 17 Migration Guide (11→17)
1. Introduction Java 11 was released in September 2018. Java 17 was released in September 2021. Both are Long-Term Support (LTS) releases, and migrating from 11 to 17 is one of the most common upgrade paths in the Java ecosystem today. If you are still on Java 11, you are missing three years of…
- Java 17 Other Improvements
1. Introduction Java 17 is not just about sealed classes, records, and pattern matching. It ships with a collection of smaller but highly practical improvements that affect your daily coding work. These changes span better error messages, new API conveniences, formatting utilities, and significant…
- Java 17 Records
1. Introduction Records were introduced as a preview feature in Java 14, refined in Java 15, and finalized as a permanent language feature in Java 16. By the time Java 17 LTS shipped, records had become a core part of the language that every Java developer should master. They are not experimental.…