Diving into Java records: Serialization, marshaling, and bean state validation

Existing frameworks and libraries that access instance variables through getters and setters won’t work with records. Here’s what to do.

Modern Java toys that boost productivity, from type inference to text blocks

Developers using older versions of the Java platform are missing out.

12 recipes for using the Optional class as it’s meant to be used

Follow these dozen best practices to protect your applications against ugly null pointer exceptions—and make your code more readable and concise.

The role of preview features in Java 14, Java 15, Java 16, and beyond

How Oracle gathers feedback on new JDK functionality with preview, experimental, and incubating features

Pattern Matching for instanceof in Java 14

Use pattern matching for instanceof to simplify the use of the instanceof operator in Java, thereby making your code safer and easier to write.

Java 14 Arrives with a Host of New Features

Java 14 contains more new features than the previous two releases—most of them aimed at easing coding.

Java Flight Recorder and JFR Event Streaming in Java 14

Get a stream of high-volume data points about your running app.

Records Come to Java

A first look at how Java 14’s data records will change the way you code