Latest Articles

The best of 2020: The 10 most popular Java Magazine articles

Read them, reread them, share them.

Fast, flexible data access in Java using the Helidon microservices platform

Microservices

Helidon SE and Helidon MP provide a very diverse array of methods for accessing data sources.

The latest Java downloads and resources for developers

GraalVM

All your favorite links gathered together in one place

Design change-tolerant software with cloud native patterns

Testing

By applying cloud native designs, you can build resilient, easily adaptable, web-scale distributed applications that handle massive user traffic and data loads.

Java and the modern CPU, Part 2: The unexpected effects of instruction execution

Java SE

How false sharing and branch misprediction can have unwanted effects on your code’s performance

How to build applications with the WebSocket API for Java EE and Jakarta EE

Jakarta EE

WebSocket is a two-way communication protocol that lets clients send and receive messages over a single connection to a server endpoint.

JPAstreamer: Expressing Hibernate/JPA queries with Java streams

Coding

Mixing Hibernate/JPA and Java for database actions is neither completely type-safe nor intuitive. The JPAstreamer library offers another solution.

Java and the modern CPU, Part 1: Memory and the cache hierarchy

Java SE

You can understand application performance—and optimize your software approach—by understanding how CPUs, memory, and caches affect execution.

Going inside Java’s Project Loom and virtual threads

Coding

See how virtual threads bring back the old days of Java’s green threads—that is, Java threads not tied to operating-system threads.

Hello, Coherence Community Edition, Part 3: Packaging, deployment, scaling, persistence, and operations with Java

Tools

How to push a Coherence CE application out to a Kubernetes cluster, and then scale and manage that cluster

Java on Arm processors: Understanding AArch64 vs. x86

Java SE

Arm-based processors are increasingly popular and are in the news thanks to Apple’s latest notebooks and Oracle’s cloud services.

Introducing JobRunr: A distributed job scheduler for Java

Tools

A quick tutorial on an open source library that leverages lambdas and Spring

Refactoring Java, Part 3: Regaining business agility by simplifying legacy code

Testing

By making the code easier to understand, you also make it easier—and safer—to maintain.

Creating a Java off-heap in-memory database

Coding

Store gigabytes or terabytes of data in high-speed memory—if you have the physical RAM, of course.

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

Java 15

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