Latest Articles

Pattern Matching for instanceof in Java 14

Coding

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

The Best of the JDK Face-Off

Java SE

Twenty-five years of Java development saw many innovations in languages, libraries, tooling, and runtimes. Tell us what you think matters most.

JUnit 5.6 Makes Testing Easy with New Features

Testing

New features such as the ability to define test execution order and run tests in parallel make this an important release.

The Unsafe Class: Unsafe at Any Speed

Coding

Just because you can break the rules, doesn’t mean you should break the rules—unless you have a good reason.

Five Code Review Antipatterns

Testing

Everyone cares about best practices, but worst practices can sometimes be more illuminating.

How to Test Java Microservices with Pact

Testing

Microservice applications present special testing challenges.

Migrating from JUnit 4 to JUnit 5: Important Differences and Benefits

Testing

Improvements and new features make JUnit 5 compelling.

HTML5 Server-Sent Events with Micronaut.io and Java

HTML

Building a simple, reliable messaging service

Java Flight Recorder and JFR Event Streaming in Java 14

JVM Internals

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

Java 14 Arrives with a Host of New Features

Java SE

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

Transition from Java EE to Jakarta EE

Java EE

What happened and what you need to know

Programming the GPU in Java

Coding

Accessing the GPU from Java unleashes remarkable firepower. Here’s how the GPU works and how to access it from Java.

Easy Searching with Elasticsearch

Frameworks

Using Elasticsearch’s high- and low-level APIs to search synchronously and asynchronously