Introduction to Guava CacheLoader 1. Introduction In this article, we’ll introduce the Guava CacheLoader. Before reading further, it’s recommended that there is a basic understanding of the LoadingCache class first. This is because the CacheLoader works with it specifically. Essentially, the CacheLoader is a function used for computing a value… Continue Reading guava-cacheloader

Load Spring Boot Properties From a JSON File 1. Introduction Use external configuration properties is quite a common pattern. And, one of the most common questions is the ability to change the behavior of our application in multiple environments – such as development, test, and production – without having to change… Continue Reading spring-boot-json-properties

Difference Between Flatmap and Switchmap in RxJava 1. Overview RxJava provides various operators to transform items emitted by an observable into other observables. Two of the most popular operators are flatMap and switchMap. The difference between the two is often hard to understand for beginners in reactive programming. For an… Continue Reading rxjava-flatmap-switchmap