Java Flight Recorder and JFR Event Streaming in Java 14

February 27, 2020 JVM Internals

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

Java 14 Arrives with a Host of New Features

February 27, 2020 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

February 27, 2020 Java EE

What happened and what you need to know

Quiz Yourself: Lambda Types (Advanced)

February 27, 2020 Java SE

Can a lambda return a lambda?

Quiz Yourself: Two-Dimensional Arrays (Intermediate)

February 27, 2020 Java SE

Using var with two-dimensional arrays requires careful attention.

Quiz Yourself: Lambda Expressions (Advanced)

February 27, 2020 Java SE

The subtleties of using var in lambda expressions

Quiz Yourself: Functional Interfaces (Advanced)

February 27, 2020 Java SE

Define and implement functional interfaces that work as expected.

Programming the GPU in Java

January 10, 2020 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

January 10, 2020 Frameworks

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

Records Come to Java

January 10, 2020 Java SE

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

Quiz Yourself: Understanding enums (Advanced)

January 10, 2020 Quiz

The subtleties of using enums in a switch statement

Quiz Yourself: Final Classes (Intermediate)

January 10, 2020 Quiz

The effects of declaring a class final

Quiz Yourself: Default Methods (Advanced)

January 10, 2020 Quiz

What fields can you access from default methods in interfaces?

Quiz Yourself: Manipulate Data with StringBuilder (Intermediate)

January 10, 2020 Quiz

When two object references point to the same StringBuilder instance, how are changes propagated?

Understanding the JDK’s New Superfast Garbage Collectors

November 21, 2019 JVM Internals

ZGC, Shenandoah, and improvements to G1 get developers closer than ever to pauseless Java.

Epsilon: The JDK’s Do-Nothing Garbage Collector

November 21, 2019 JVM Internals

The benefits of Java’s memory allocator that does no garbage collection

Understanding Garbage Collectors

November 21, 2019 Open JDK

How the default garbage collectors work

Testing HTML and JSF-Based UIs with Arquillian

November 21, 2019 Testing

How to use the testing framework to handle pure HTML, JSF, PrimeFaces, and Ajax in all major browsers

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

November 21, 2019 Coding

Using Swing to write a GUI for the text editor