JSON 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 Article