Cruising Along with Java

Modernize and Modularize with the Latest Features

by: Venkat Subramaniam

Published 2025-05-20
Internal code vscajava
Print status In Print
Pages 232
User level Intermediate
Keywords java, java 19, jvm, oop, oo, object-oriented
Related titles

Functional Programming in Java, 2nd Edition.
Also, other books related to Java, Kotlin, Scala, other JVM languages.

ISBN 9781680509816
Other ISBN
BISACs COM051280 COMPUTERS / Programming Languages / Java
COM051210 COMPUTERS / Programming / Object Oriented
COM051210 COMPUTERS / Programming / Object Oriented

Highlight

Java is on a fast-paced development schedule that brings with it improved design capabilities and enhancements for application security. Learn about the changes to Java, from version 9 to 24, and apply new features to build enterprise applications faster and with fewer errors. Get up to speed on how to make your code concise, expressive, and less error prone, and create better OO programs with the newest features. Modularize and create applications with ease and enhanced security and dependency management. This book contains twelve chapters that dive deep into the features, using plenty of examples for you to practice along with.

Description

Java is changing quickly—don’t be left behind. This book will keep you up to date on the amazing capabilities of the Java language introduced between versions 9 and 24. Whether you are using Java 8 or one of the newer versions of Java, this book will serve as your practical guide to explore and apply the features in these versions of Java.

Learn to properly use type inference and avoid its pitfalls. Use text blocks to write elegant multiline strings and embed XML and JSON documents in code. Design better OO code with records and sealed classes, and along the way, learn proper ways to apply these new ideas. Reduce verbosity and hidden errors in code using switch expressions and pattern matching syntax. Use gatherers to extend your functional pipeline with custom steps. Take your upgrade journey further by modularizing your Java code, to make it more secure and manage dependencies clearly. Leverage those capabilities to more easily and dynamically discover services.

Don’t tolerate clumsy old Java code; instead, benefit from the significant changes to the language in versions 9 through 24.

Contents and Extracts

Preface