How to write a new actor in Akka in Java? This post explains actor creation, message reception, and testing.
How to handle exception in CompletableFuture? This article explains the difference between handle(), whenComplete(), and exceptionally().
Use java.time.Clock to control time in your unit tests. This article will mainly focus on usage of fixed clock and offset clock.
How CompletableFuture is tested in OpenJDK 14? What can we learn from it?
Initialize Mockito mock objects in JUnit 5 using MockitoExtension, MockitoAnnotations#initMocks, or Mockito#mock.
Introduction of Java framework Immutables which creates immutable objects and builders for you. Type-safe, null-safe and thread-safe, with no boilerplate.
Testing Elasticsearch with docker and Java High Level REST Client
Quick introduction of asynchrnous processing in JAX-RS 2.x on both server-side and client-side.
169 post articles, 22 pages.