Join Two Tables Using jOOQ
1. Introduction jOOQ (Java Object Oriented Querying) is a powerful library that simplifies database interaction in Java by enabling us to write SQL queries in an object-oriented manner. Joining tables...
View ArticleCreate and Run Apache JMeter Test Scripts via Java Program
1. Introduction Apache JMeter is an open-source Java-based application designed to analyze and measure the performance of web applications. It allows a tester to simulate heavy loads on the servers,...
View ArticleIntro to the Apache Commons Compress Project
1. Introduction In this tutorial, we’ll learn how to use Apache Commons Compress to compress, archive, and extract files. We’ll also learn about its supported formats and some of its limitations. 2....
View ArticleGet the Response Body in Spring Boot Filter
1. Introduction In this article, we’ll explore how to retrieve the response body from a ServletResponse in a Spring Boot filter. In essence, we’ll define the problem, and then we’ll use a solution that...
View ArticleCan @Transactional and @Async Work Together?
1. Introduction In this article, we’ll examine the compatibility between the @Transactional and @Async annotations of the Spring framework. 2. Understanding @Transactional and @Async The @Transactional...
View ArticleIntroduction to Brave
1. Introduction In modern software development, where microservices architectures are very popular, the ability to track and analyze the flow of requests across various services is essential. Because...
View ArticleCode Coverage vs. Test Coverage
1. Overview Software testing helps us ensure our code works correctly, which makes it an important part of the development process. When discussing testing, terms such as code coverage and test...
View ArticleConverting a Java Project/Module Into a Maven Project/Module In IntelliJ IDEA
1. Overview IntelliJ IDEA stands out as a robust integrated development environment (IDE). It provides robust features to streamline the development workflow. A common task a developer may encounter is...
View ArticlePass a Class as a Parameter in Java
1. Introduction When working with Java programming, there are situations where we may need to pass a class as a parameter, enabling dynamic behavior and flexibility in our code. In this tutorial, we’ll...
View ArticleConvert Google Protocol Buffer Timestamp to LocalDate
1. Overview The Protocol Buffer (protobuf) data format helps us transfer structured data over a network. It’s independent of any programming language and has an implementation for most programming...
View ArticleInstall Java on macOS
1. Overview Java is a programming language owned by Oracle that was originally developed in 1995 by Sun Microsystems. In enterprises, web development, and the development of highly scalable solutions,...
View ArticleIntroduction to DuckDB
1. Overview In this tutorial, we’ll learn about an analytical relational database called DuckDB. We’ll explore its advantages and see how it’s an efficient solution for analytical tasks. After that,...
View ArticleParallel Collection Processing with Parallel Collectors and Virtual Threads
1. Introduction In the previous article, we covered parallel-collectors, a small zero-dependency library that enables parallel processing for Stream API on custom thread pools. Project Loom is the...
View ArticleSkipList Implementation in Java
1. Overview In this article, we’ll explore the fundamentals of the SkipList data structure and walk through a Java implementation. SkipLists are versatile and can be applied to various domains and...
View ArticlePolymorphism with Gson
1. Introduction In this tutorial, we’ll explore how to manage polymorphism with Gson. We’ll also explore some techniques for handling serialization and deserialization in polymorphic ways. 2....
View ArticleExploring Complex Number Arithmetic Operations in Java
1. Introduction In this tutorial, we’ll examine arithmetic operations on complex numbers. Specifically, we’ll explore how to perform addition, subtraction, multiplication, and division of two complex...
View ArticleIterator vs forEach() in Java
1. Overview In Java programming, navigating through collections and arrays is crucial. In this article, we discuss two primary approaches using the Iterator interface and the forEach() method. We aim...
View ArticlePrintWriter write() vs print() Method in Java
1. Introduction In this article, we’ll talk about the PrintWriter class of the Java IO package. Specifically, we’ll discuss two of its methods, write() and print(), and their differences. The...
View ArticleHow to Intercept a Request and Add Headers in WebFlux
1. Overview Interceptors, also known as filters, are a feature in Spring that allows us to intercept client requests. This allows us to examine and transform the request before the controller handles...
View ArticleHow to Specify the logback.xml Location
1. Overview Logging is an essential aspect of any software application for monitoring, debugging, and maintaining system health. In the Spring Boot ecosystem, Logback functions as the default logging...
View Article