Tag Archives: Spring Boot

How to Dockerize Spring Boot application with MySQL

The term Dockerize refers to the process of packaging an application and its dependencies into containers using Docker. Docker is an open-source platform that helps developers automate the deployment of applications into lightweight and portable containers that contain everything needed to run the application, including the source code, libraries, and system tools. In this tutorial,… Read More »

How to Dockerize Spring Boot application with MongoDB?

Docker is a platform that is used for developing, shipping and running applications inside containers. The containers are lightweight and portable units that package the application and its dependencies, enabling them to run consistently across different environments (DEV, SIT, and PROD) as well as on different systems. In this tutorial, we will learn how to… Read More »

How to use Spring Batch 5.0.X with example – Read from MySQL and Write to MongoDB

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 applications. In this tutorial, we are going to use a Spring Batch… Read More »

How to make YAML to Java object

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

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 »

How to create a RestFul APIs in Spring Boot | Category API

RestFul APIs RestFul APIs are the interface that two computer systems use to communicate and exchange data over the internet using HTTPS ports. The APIs that follow the REST architecture design paradigm are called Rest APIs. In this article, we will create a category API for our blog application. To learn more about the Category… Read More »

Bean Validation – How to validate data using Bean Validation?

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 »