Core Java
-
How to Add JARs to a Jetbrains MPS Project
Jetbrains MPS is a wonderful tool to create DSLs. We love it and use it regularly in our consultancy work.…
Read More » -
How to write less and better code, or Project Lombok
I have long intended to write about Project Lombok, so much so that I am probably doing it when every…
Read More » -
Easy Fine-Grained Sorting with JDK 8
Java 8‘s introduction of streams and useful static/default methods on the Comparator interface make it easy to compare two objects…
Read More » -
Converting Collections to Maps with JDK 8
I have run into the situation several times where it is desirable to store multiple objects in a Map instead…
Read More » -
Java Reflection, but much faster
What is the fastest way to read a getter from a Java class without knowing the class at compilation time?…
Read More » -
The Highly Useful Java ChronoUnit Enum
Several years ago, I published the blog post “The Highly Useful Java TimeUnit Enum” that looked at the TimeUnit enum…
Read More » -
Bootstrap CDI 2.0 in Java SE
Abstract This is a quick reference for bootstrapping CDI 2.0 in a Java SE application. CDI 2.0 (JSR 365) Maven…
Read More » -
Java 9 Module Services
Wiring and Finding Java has a ServiceLoader class for long time. It was introduced in 1.6 but a similar technology…
Read More » -
Top 20 Libraries and APIs Java Developer should know
One of the traits of a good and experienced Java developer is the extensive knowledge of API, including JDK and…
Read More »