-
Core Java
Check if a Variable Is Null Using Hamcrest
In unit testing, verifying that a variable is null is a common task. Hamcrest, a popular framework for writing matcher…
Read More » -
Software Development
PUT or PATCH: Understanding the Difference
When building RESTful APIs, updating existing resources is a common operation. Two HTTP methods often come into play for this…
Read More » -
Core Java
Mastering CompletableFuture in Java: A Comprehensive Guide
CompletableFuture is a powerful and versatile tool in Java‘s arsenal for handling asynchronous computations. It offers a rich set of…
Read More » -
Core Java
Configuring gRPC Retry Policies in Java Applications
gRPC is a high-performance RPC framework that enables efficient communication between microservices. However, network requests can fail due to various…
Read More » -
Core Java
Insert JSON Object to PostgreSQL using preparedStatement
Storing JSON data in a PostgreSQL database can be quite efficient and effective. PostgreSQL offers two data types to store…
Read More » -
Core Java
Java CompletableFuture — The Flaws in allOf(…)
CompletableFuture is a powerful tool in Java’s arsenal for asynchronous programming. It represents the result of an asynchronous computation, allowing…
Read More » -
Enterprise Java
Logging MyBatis SQL Queries to the Console
MyBatis is a popular Java persistence framework that enables us to interact with databases using SQL queries. One of the…
Read More »