In modern web applications, maintaining audit trails for data changes is crucial for tracking who made changes and when. If you’re building a Spring Boot application with REST APIs, using MyBatis for data persistence, and MSSQL as your database, you might face the challenge of managing common audit fields like createdDate, createdBy, updatedDate, and updatedBy […]
Externalizing MyBatis SQL Queries in a Spring Boot Application
As applications grow in complexity, managing SQL queries directly within the codebase can become cumbersome and error-prone. MyBatis, a popular persistence framework, offers several options for managing SQL statements in a Spring Boot application. This blog post explores how to externalize SQL queries, including the various methods supported by MyBatis for writing and organizing SQL […]
Getting Started with Spring Boot: A Spring Boot Setup Tutorial
Spring Boot has become the go-to framework for Java developers looking to create robust and efficient applications. This Spring Boot setup tutorial will guide you through setting up your development environment with Maven and IntelliJ, ensuring you have everything you need to start building Spring Boot projects seamlessly. This is our second article in our […]
What Are REST APIs? A Beginner’s Guide for Java Developers
When it comes to web development, REST APIs are an essential building block for creating scalable and efficient applications. In this REST API tutorial for Java developers, we will explore the basics of REST APIs, their key features, and why they are crucial in modern software development. By the end of this guide, you’ll have […]
How to configure JaCoCo for Code Coverage in Spring boot Applications
Code coverage is a crucial aspect of software development that helps to measure the effectiveness of testing and ensures the quality of the codebase. In this comprehensive guide, we will explore the concept of code coverage specifically for Springboot applications and delve into the implementation of JaCoCo, a popular code coverage tool for Java projects. […]