Using Java Flight Recorder (JFR) in Quarkus
1. Introduction Java Flight Recorder (JFR) is a powerful JVM tool for capturing events to monitor, profile, and troubleshoot applications. Integrating JFR with Quarkus gives us detailed insights into...
View ArticleJSON Unit Test Assertions Using JsonUnit
1. Overview In this short article, we’ll explore the JsonUnit library and use it to create expressive assertions for JSON objects. We’ll start with a simple example, showcasing the smooth integration...
View ArticleCount Hills and Valleys in an Array of Integers
1. Introduction When solving data structure and algorithm (DSA) problems, counting distinct patterns in sequences can be intriguing. In our previous article, we discussed various approaches to...
View ArticleJava Weekly, Issue 572
1. Spring and Java >> Introducing Spring AI Amazon Bedrock Nova Integration via Converse API [spring.io] Spring AI introduces an integration with the new generation of Amazon Nova models, using...
View ArticleIntroduction to Apache Accumulo
1. Introduction Humanity produces massive amounts of sensitive data daily, and organizations need to manage everything from personal information and financial records to classified documents and...
View ArticleQuarkus WebSockets Next
1. Introduction In this article, we’re going to look at the quarkus-websockets-next extension for the Quarkus framework. This extension is a new, experimental extension to support WebSockets within our...
View ArticleDynamic Spring Data JPA Repository Query With Arbitrary AND Clauses
1. Overview In developing an application with Spring Data, quite often we need to construct a dynamic query based on the selection criteria to fetch data from the database. This tutorial explores three...
View ArticleWhat Is chain.doFilter() Doing in Spring Filter?
1. Introduction In this tutorial, the main focus will be to understand the purpose of the chain.doFilter() method in the Spring framework. To gain a good understanding we’ll first explore what a filter...
View ArticleIntroduction to ClickHouse Database
1. Overview Through the use of Online Analytical Processing (OLAP), businesses gain insights into their current operations and identify trends for improvement. This is typically done by performing...
View ArticleDifference Between a HashMap and a Dictionary in Java
1. Overview Java developers often encounter HashMap and Dictionary when working with key-value pair data structures. At first glance, they might seem interchangeable, but they have significant...
View ArticleJava Weekly, Issue 573
1. Spring and Java >> Announcing Spring AI MCP: A Java SDK for the Model Context Protocol [spring.io] The Spring AI ecosystem now includes a new (experimental) module that implements the Model...
View ArticleIntroduction to AutoMQ: A Cost-Effective Kafka Alternative
1. Overview Apache Kafka has established itself as one of the most popular and widely used messaging and event streaming platforms. However, setting up and managing Kafka clusters is a complex process,...
View ArticleResolving CVE-2022-1471 With SnakeYAML 2.0
1. Overview In this article, we’ll explore CVE-2022-1471, a critical vulnerability in Spring Boot introduced through SnakeYAML, a popular Java library for parsing YAML. We’ll also explore how SnakeYAML...
View ArticleFIFO Queue Support in Spring Cloud AWS
1. Overview FIFO (First-In-First-Out) queues in AWS SQS are designed to ensure that messages are processed in the exact order they are sent and that each message is delivered only once. Spring Cloud...
View ArticleGet Thread by Name in Java
1. Overview Threads are fundamental building blocks for concurrent programming in Java. In many applications, we might need to locate a specific thread by its name to perform operations like debugging,...
View ArticleHow to Diagnose a Null Exception Message in Java
1. Overview Exceptions in Java may help us find and fix bugs. But what happens when the exception message is null, leaving us scratching our heads for clues? In this quick tutorial, let’s look into...
View ArticleDifference Between Circuit Breaker and Retry in Spring Boot
1. Overview In distributed systems and microservices architectures, handling failures gracefully is crucial for maintaining system reliability and performance. Two fundamental resilience patterns that...
View ArticleJava Weekly, Issue 574
1. Java and Technical >> InfoQ Java Trends Report – December 2024 [infoq.com] As always, an insighful article about the state of our ecosystem, over on InfoQ. >> Dates aren’t what they used...
View ArticleList All Liquibase SQL Types With Java
1. Introduction In this article, we’ll explore the various SQL data types supported by Liquibase. We’ll also examine how they are represented across databases such as MySQL, PostgreSQL, Oracle, and...
View ArticleGuide to Objects.requireNonNull() in Java
1. Introduction A NullPointerException is one of Java’s most common exceptions. It occurs when accessing or interacting with a reference variable that points to null. Validating objects, especially...
View Article