Differences Between Collection.clear() and Collection.removeAll() 1. Overview In this quick tutorial, we’ll learn about two Collection methods that might seem to do the same thing, but aren’t: clear() and removeAll(). We’ll first see the method definitions and then use them in short examples. 2. Collection.clear() We’ll first dive into the Collection.clear() method. Let’s check… Continue Reading java-collection-clear-vs-removeall

Quick Guide to Micrometer 1. Introduction Micrometer provides a simple facade over the instrumentation clients for a number of popular monitoring systems. Currently, it supports the following monitoring systems: Atlas, Datadog, Graphite, Ganglia, Influx, JMX and Prometheus. In this article, we’ll introduce the basic usage of Micrometer and its integration… Continue Reading micrometer

Java Web Weekly, Issue 147 A forward looking week a focus on reactive programming. Here we go… 1. Spring and Java ===== >> Project Valhalla: Goals [mail.openjdk.java.net] A very interesting read about the Java language itself and the direction it’s potentially heading into. >> Testing RxJava [infoq.com] Another very interesting… Continue Reading java-web-weekly-147

Logging a Reactive Sequence 1. Overview With the introduction of Spring WebFlux, we got another powerful tool to write reactive, non-blocking applications. While using this technology is now way easier than before, debugging reactive sequences in Spring WebFlux can be quite cumbersome. In this quick tutorial, we’ll see how to easily log… Continue Reading spring-reactive-sequence-logging

DynamoDB in a Spring Boot Application Using Spring Data 1. Overview In this article, we’ll explore the basics of integrating DynamoDB into a Spring Boot Application with a hands-on, practical example project. We’ll demonstrate how to configure an application to use a local DynamoDB instance using Spring Data. We’ll also… Continue Reading spring-data-dynamodb