In this article, we’ll write a program (The Reloader) to easily play with Java code without the need to know how to compile or run the code or print the result.
Java 21 – JEP 445 – Unnamed Classes and Instance Main Methods
The goal of JEP 445 is to make it easier to get started with Java, as it’s all about reducing the number of keywords when you write, for instance, your very first HelloWorld Java code.
Foojay Podcast #29: How will AI and ML Influence the Role of Developers?
Every conference has several talks about these technologies, and on Foojay, you can find multiple posts about it. Let’s take a look at it from the Java point of view.
Java 21 is Available Today, And It’s Quite the Update
Today’s the first day of Java 21’s availability! It’s been six months since Java 20 was released, so it’s time for another fresh wave of Java features.
AsyncGetCallTrace Reworked: Frame by Frame with an Iterative Touch!
This article is the first of two articles covering the draft of a new iterator-based stack walking API, which builds the base for the follow-up article on safepoint-based profiling.
Exploring Java Records In A Jakarta EE Context
This article explores the adoption of Java Records in a Jakarta EE application as a data transfer and projection object.
Rolling Binary Trees: A Guide to Common Design Patterns in Java
In this article, we introduce a linear-time algorithm for rolling binary trees and implement it in Java, by utilizing common design patterns.
Hidden and Not-So-Hidden Gems In Java 20
Let’s see the preview and incubator JEPs in Java 20, as well as many smaller enhancements, bug fixes, and deprecations.
It’s Java 20 Release Day! Here’s What’s New
In this article, we will take you on a tour through all JEPs that come with this release and give you a brief introduction of each one of them.
How to Best Use Java Records as DTOs in Spring Boot 3
Explore how to best use compact Java Records as Data Transfer Objects (DTOs) for database and API calls in Spring Boot 3 with Hibernate 6 as the persistence provider.
An Introduction to Scoped Values in Java
The Scoped Values API allows us to store and share immutable data for a bounded lifetime and only the thread that wrote the data can read it.