Quiz yourself: Use PreparedStatement to perform database CRUD operations (intermediate)

PreparedStatement sends SQL to a database. Let’s see how it works.

Java frameworks for the cloud: Establishing the bounds for rapid startups

Making the case for using the GraalVM platform for serverless applications

How to write your own Maven plugins

Creating custom plugins for the Apache Maven build tool is easier than you might think.

Java Card 3.1 explored

The new release tunes the popular Java platform for IoT applications as well as the cloud.

Java Cookbook, 4th Edition

Former Java Magazine editor Andrew Binstock reviews an updated classic work that’s great for all coders.

Getting started with JavaFX on Raspberry Pi

The inexpensive single-board computer works great with Java, making hardware development as easy as traditional software development.

Streaming analytics with Java and Apache Flink

How to use Flink’s built-in complex event processing engine for real-time streaming analytics

Concurrent programming with Concurnas

Modern developers have access to hardware of never-before-seen power. Here’s how to leverage Concurnas, a new JVM programming language, to unlock that power.

Get started with concurrency in Jakarta EE

One of the cornerstones of any well-written application is good performance, and that often means being able to run two or more tasks at the same time in parallel.

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 25 greatest Java apps ever written

From space exploration to genomics, from reverse compilers to robotic controllers, Java is at the heart of today’s world. Here are a few of the countless Java apps that stand out from the crowd.

Is it time for operator overloading in Java?

Love it or loathe it, this article makes the case that operator overloading is essential for making code easier to read, writer, and debug.

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.

The Unsafe Class: Unsafe at Any Speed

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

How to Test Java Microservices with Pact

Microservice applications present special testing challenges.

Programming the GPU in Java

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

Take Notes As You Code—Lots of ’em!

A small discipline that pays huge rewards

For the Fun of It: Writing Your Own Text Editor, Part 2

Using Swing to write a GUI for the text editor

Java in the Browser with TeaVM

Build web apps using Java on both the front and back ends.