Inside Java 13’s switch Expressions and Reimplemented Socket API

October 16, 2019 Java SE

Incremental changes bring future benefits in this release.

Text Blocks Come to Java

October 16, 2019 Java SE

Java 13 delivers long-awaited multiline strings.

Inside the Language: Sealed Types

October 16, 2019 Java SE

How Java is moving toward pattern matching, improved enums, and better switch statements

Java in the Browser with TeaVM

October 8, 2019 Coding

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

Really Know Your Tools

October 8, 2019 From the Editor

Great programmers all possess deep knowledge of their primary tools. If you’re not expert in yours, invest the time you need. Here’s a start.

Quiz Yourself: One-Dimensional Arrays (Intermediate)

October 4, 2019 Quiz

The subtleties of using a constructor to create an array

Quiz Yourself: Custom Exceptions (Advanced)

October 4, 2019 Quiz

When exactly do you need to declare an exception?

Quiz Yourself: Read and Set the Locale (Advanced)

October 4, 2019 Quiz

For happy users, specify the locale correctly.

Quiz Yourself: Functional Interfaces (Advanced)

October 4, 2019 Quiz

The subtleties of boxing and unboxing in streams

Know for Sure with Property-Based Testing

August 20, 2019 Testing

How do you test your code against thousands of values?

Arquillian: Easy Jakarta EE Testing

August 20, 2019 Testing

How to use the Arquillian framework to test Jakarta EE applications

Unit Test Your Architecture with ArchUnit

August 20, 2019 Testing

Discover architectural defects at build time.

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

August 20, 2019 Coding

Using a layered design and iterative development, a line editor evolves into a text editor in this new article series.

Getting Started with Kubernetes

July 11, 2019 Kubernetes

Automate the deployment, scaling, and management of containerized applications and services.

GraalVM: Native Images in Containers

July 10, 2019 GraalVM

Put Java apps into containers, run them as native apps, and get faster startup times and lower memory overhead.

Containerizing Apps with jlink

July 10, 2019 Containers

A JDK utility greatly facilitates containerizing your applications.

New switch Expressions in Java 12

July 10, 2019 Java SE

A new preview feature makes switch statements friendlier and less error-prone.

Java Card 3.1 Unveiled

July 10, 2019 Java Card

The major new release tunes the popular Java platform for IoT.

Javalin: A Simple, Modern Web Server Framework

May 15, 2019 Frameworks

Building web apps with a fast, lightweight, unopinionated framework that creates tiny executables

Building Microservices with Micronaut

May 15, 2019 Frameworks

A lightweight framework designed from the ground up for microservices and serverless computing

Helidon: A Simple Cloud Native Framework

May 15, 2019 Frameworks

Create container-friendly microservices with a minimum of code running straight Java SE.

The Proxy Pattern

May 15, 2019 Design Patterns

A good solution when you need to enable or mediate access to objects, either local or remote

Loop Unrolling

May 15, 2019 JVM Internals

An elaborate mechanism for reducing loop iterations improves performance but can be thwarted by inadvertent coding.

Real-World Bytecode Handling with ASM

August 1, 2018 JVM Internals

Scan, inspect, generate, and transform bytecodes on the fly with the ASM library.