-
Core Java
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 » -
Enterprise Java
Spring, Reactor and ElasticSearch: bechmarking with fake test data
In the previous article we created a simple adapter from ElasticSearch’s API to Reactor’s Mono, that looks like this: import reactor.core.publisher.Mono; private Mono…
Read More » -
Enterprise Java
Spring, Reactor and ElasticSearch: from callbacks to reactive streams
Spring 5 (and Boot 2, when it arrives in a couple of weeks) is a revolution. Not the “annotations over XML”…
Read More » -
Enterprise Java
Reactive Web Applications Using SpringWebFlux
1. Introduction to Reactive Programming Reactive programming is a term coined for the applications that has the following characteristics: Non-blocking…
Read More » -
Core Java
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 » -
Core Java
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 » -
Core Java
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 » -
Core Java
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 » -
Core Java
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 »