Core Java
-
Java: ChronicleMap Part 2, Super RAM Maps
The standard Java Maps, such as the ubiquitous HashMap, are ultimately limited by the available RAM. Read this article and…
Read More » -
Java: ChronicleMap Part 1, Go Off-Heap
Filling up a HashMap with millions of objects will quickly lead to problems such as inefficient memory usage, low performance…
Read More » -
JEP 358: Helpful NullPointerExceptions
In the post “Better Default NullPointerException Messages Coming to Java?“, I summarized background details related to a draft JEP (at…
Read More » -
Annotation Handling and JPMS
TLDR; Instead of annotation.getClass().getMethod("value") call annotation.annotationType().getMethod("value"). All Java developers have heard about annotations. Annotations are with us since Java 1.5…
Read More » -
JDBC – Emulating a sequence
Probably each of us encountered this problem at least once in the programmer’s life – how to emulate a database…
Read More » -
Running a Java class as a subprocess
Running a Java class (not a jar) as a subprocess is something I needed to do this week. More precisely,…
Read More » -
Save your lambdas for a rainy day – save to file
Introduction A short post describing how a Java lambda can be persisted to a file for re-use in a different…
Read More » -
Easy event processing with var, Lombok and Fluxtion
Introduction In this article I am combining two products Lombok and Fluxtion to demonstrate how tools can reduce both the…
Read More » -
Data Classes Considered Harmful
This blog post explains the motivation behind removing Project Lombok from one of the projects to which I contribute. It…
Read More »