Tag Archives: Spring Boot

Spring Batch tutorial – 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 enterprise applications (J2EE). In this tutorial, we are going to use a… 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 »

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

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 »