Introduction to MyBatis-Plus
1. Introduction MyBatis is a popular open-source persistence framework that provides alternatives to JDBC and Hibernate. In this article, we’ll discuss an extension over MyBatis called MyBatis-Plus,...
View ArticleCalculate the Sum of Diagonal Values in a 2d Java Array
1. Overview Working with two-dimensional arrays (2D arrays) is common in Java, especially for tasks that involve matrix operations. One such task is calculating the sum of the diagonal values in a 2D...
View ArticleCreate a ChatGPT Like Chatbot With Ollama and Spring AI
1. Introduction In this tutorial, we’ll build a simple help desk Agent API using Spring AI and the llama3 Ollama. 2. What Are Spring AI and Ollama? Spring AI is the most recent module added to the...
View ArticleAvoiding “no runnable methods” Error in JUnit
1. Overview JUnit is the primary choice for unit testing in Java. During the test execution, developers often face a strange error that says there are no runnable methods even when we’ve imported the...
View ArticleHow to convert List to Flux in Project Reactor
1. Overview In Reactive Programming, it’s often necessary to transform Collections into a reactive stream known as a Flux. This becomes a crucial step when integrating an existing data structure into...
View ArticleIntroduction to Armeria
1. Introduction In this article, we’ll look at Armeria – a flexible framework for efficiently building microservices. We’ll see what it is, what we can do with it, and how to use it. At its simplest,...
View ArticleHow to Fill an Array With Random Numbers
1. Overview Generating random numbers is a common programming task primarily used in simulation, testing, and games. In this tutorial, we’ll cover multiple ways of filling the content of an array with...
View ArticleAutomated End-to-End Testing With Playwright
1. Overview End-to-end testing is one of the important factors in determining the overall working of the software product. It helps uncover the issues that may have gone unnoticed in the unit and...
View ArticleCollect Successive Pairs From a Stream in Java
1. Overview In Java Streams, processing and transforming data efficiently is crucial for effective programming. Two powerful techniques for handling successive elements are using SimpleEntry for...
View ArticlePrint an Array Without Brackets and Commas
1. Introduction When printing an Array, the default print format will print the values in brackets, with commas separating each element. In this tutorial, we’ll learn how to print an Array without...
View ArticleJava Weekly, Issue 555
1. Spring and Java >> Leveraging JDK Tools and Updates to Help Safeguard Java Applications [dev.java] An overview of the built-in tools available in JDK – used to keep Java installations safe. A...
View ArticleSending Emails in Spring Boot Using SendGrid
1. Overview Sending emails is an important feature for modern web applications, whether it’s for user registration, password resets, or promotional campaigns. In this tutorial, we’ll explore how to...
View ArticleSequence Naming Strategies in Hibernate 6
1. Introduction In this tutorial, we’ll explore how to configure Hibernate 6’s implicit naming strategies for database sequences. Hibernate 6 introduces several new naming strategies that affect how...
View ArticleListing Files Recursively With Java
1. Introduction In this tutorial, we’ll explore how to recursively list files and directories in Java, a crucial task for projects like file management systems and backup utilities. Java offers several...
View ArticleData Oriented Programming in Java
1. Overview In this tutorial, we’ll learn about a different paradigm of software development, Data-Oriented Programming. We’ll start by comparing it to the more traditional Object Oriented Programming,...
View ArticleDDD with jMolecules
1. Overview In this article, we’ll revisit key Domain-Driven Design (DDD) concepts and demonstrate how to use jMolecules to express these technical concerns as metadata. We will explore how this...
View ArticleUpdating Values in JSONArray
1. Introduction Managing and updating JSON data is a common requirement in modern software development. JSON (JavaScript Object Notation) is widely used for data interchange between applications. In...
View ArticleSending Key/Value Messages From the Command Line in Kafka
1. Overview In this tutorial, we’ll learn two methods for sending key/value messages from the command line in Kafka. Ensuring the ordering of messages on specific topics is a common requirement in...
View ArticleAzure Functions in Java
1. Overview In this tutorial, we’ll explore Azure Java Functions. Azure Function is a serverless compute service that can execute code in response to events originating from Azure services or custom...
View ArticleConnecting to Elasticsearch Using Quarkus
1. Overview Quarkus is a modern framework that makes it easy and enjoyable to build high-performance applications. In this tutorial, we’ll explore how to integrate Quarkus with Elasticsearch, a...
View Article