Simon and Mikalai raise the question of how functional-style software should represent a recoverable error.Download a PDF of this articleImagine that you are developing a high-load message board application that will use nonblocking communication with a database. This communication will be handled using the following service class:public class...
Tuesday, November 30, 2021
Monday, November 29, 2021
Add a distributed database to your Java application with i.o.cluster
The interference open cluster is an open-source framework that allows you to build distributed applications with their own persistent storage.Download a PDF of this articleThe interference open cluster, or i.o.cluster, is a simple Java framework that lets you add a distributed database and complex event processing service within...
Friday, November 26, 2021
Java is criminally underhyped
Recent computer science graduate Jackson Roberts never took a single class in Java. That’s just wrong, he says.Download a PDF of this articleIt’s likely that you read the title of this post and thought, “What is this guy smoking? Java is everywhere!” You’re correct. Java still dominates enterprises...
Wednesday, November 24, 2021
Amber, Lambda, Loom, Panama, Valhalla: The major named Java projects
Many JEPs are collected into named projects. Here’s the latest on the progress of these initiatives.Download a PDF of this articleThe vehicle of long standing for updating the Java language and the JVM has been JDK Enhancement Proposal (JEP) documents, which are prepared using an established template and...
Monday, November 22, 2021
JUG spotlight: The Nederlandse Java User Group
The NLJUG has 5,000 members and offers regular meetings, a two-day developer conference, a quarterly magazine, and even the Masters of Java awards.Download a PDF of this articleJava user groups (JUGs) are an essential part of the Java ecosystem—and for many people, JUGs can be extremely rewarding on...
Friday, November 19, 2021
Fight ambiguity and improve your code with Java 17’s sealed classes
Use sealed classes and interfaces to create hierarchies that accurately reflect your business domain and knowledge.Download a PDF of this articleAssumptions and ambiguities. As developers, we all hate them. Sealed classes—defined and implemented by JEP 409, as a standard language feature in Java 17—can help. Sealed classes will...