Tag Archives: Spring Boot

Spring Batch 5 tutorial – Read from MySQL and Write to MongoDB

By | December 28, 2024

Spring Batch is an open-source framework and one of the core modules of Spring Framework. It is used to create a robust batch processing application that provides error handling, recovery mechanisms, easy scalability, and parallel processing of large volumes of data in Java enterprise applications (J2EE). In this tutorial, we are going to use a… Read More »

How to make YAML to Java object

By | June 17, 2025

YAML stands for YAML Ain’t Markup Language also know as Yet Another Markup Language, It is a popular configuration format used to define application properties and settings in a more human-readable manner. It is an alternative to the traditional properties file format (.properties), commonly used in Java applications. In this tutorial, we will learn to… Read More »

How to configure multiple database in Spring Boot

By | June 18, 2025

In Enterprise applications, we may be required to have multiple databases for storing different kinds of information. For example, in an e-commerce application, it may be required to keep the user’s information in a different database, product-related information in a different database, and payment-related information in a separate database. In this tutorial, we will configure… Read More »

Spring Profile – How to configure different environments in Spring Boot?

By | November 5, 2024

Spring Boot Profile Spring profile is a feature of the Spring framework that allows us to map a part of our application or the complete application to different profiles. i.e., environments (dev, uat or prod). Any @Component or the @Configurations of an application can be marked with the @Profile annotation to limit its scope to… Read More »

How to create a Spring Boot project in Eclipse IDE using Maven?

By | April 1, 2023

Spring Boot is built on the top of Spring framework which means it supports all the features of Spring framework. Spring Boot makes it easy to create standalone, production-grade spring based application that you can “Just Run”. As the standard definition says, Spring Boot provides a production-ready environment, which enables developers to focus more on… Read More »

Bean Validation – How to validate data using Bean Validation?

By | June 19, 2025

The Bean Validation API is used for the validation of constraints on an object model using annotations. It can be very useful for validating the length, format, regular expressions, etc. of an object model. By default, bean validation is a Java specification; we need to explicitly provide its implementation. Basics of Bean Validation API In… Read More »

How to create REST API in Spring Boot? | RESTful User APIs

By | June 17, 2025

API stands for Application Programmable Interface. It is a mechanism that is used for two or more computer programs to communicate with each other using a set of standard protocols. For example, when we try to login to a website, a login api gets called and requests the website’s server for authentication, and the website’s… Read More »

How to connect Spring Boot with MySQL database?

By | June 19, 2025

Spring Boot is an opinionated spring-based framework that auto-configures web applications with the help of starter packages. Along with the default embedded server, i.e., Tomcat, Spring Boot also comes with the default embedded database. The default database for Spring Boot is H2 DB. Similarly to the default embedded server, we can change the default embedded… Read More »