Welcome, in this tutorial, we will see how to implement google captcha (reCAPTCHA v2) in a spring boot web application. reCAPTCHA is a free service that protects an application from spammers. It uses advanced risk analysis techniques to keep humans and bots apart. 1. Introduction Before going further in this tutorial, we will look at the common terminology such as ...
Read More »Home » spring tutorial »
Spring Boot and MongoDB Sequence ID Generator
Welcome, in this tutorial, we will see how to generate a mongodb sequence id in a spring boot application. 1. Introduction Before going further in this tutorial, we will look at the common terminology such as introduction to Spring Boot and mongodb. 1.1 Spring Boot Spring boot is a module that provides rapid application development feature to the spring framework ...
Read More »Using Apache Kafka with Spring Boot
Welcome, in this tutorial, we will see how to implement Kafka in a spring boot application. 1. Introduction Before going further in this tutorial, we will look at the common terminology such as introduction to Spring Boot, Lombok, and Kafka. 1.1 Spring Boot Spring boot is a module that provides rapid application development feature to the spring framework including auto-configuration, ...
Read More »Spring Boot Application with Prometheus
Welcome, in this tutorial, we will see how to implement Prometheus in a Spring Boot application. 1. Introduction Before going further in this tutorial, we will look at the common terminology such as introduction to Spring Boot and Prometheus. 1.1 Spring Boot Spring boot is a module that provides rapid application development feature to the spring framework including auto-configuration, standalone-code, ...
Read More »Spring Boot and OAuth2 Tutorial
In this tutorial, we will show how to integrate OAuth2 with Spring Security in a Spring Boot application. 1. Introduction Many web applications use some mechanism for identifying a user, if for nothing more than to provide a personalized experience. Also, an authorization check may be required to determine if the user has the necessary access level to use the ...
Read More »Spring Boot Database Migrations with Flyway
Welcome, in this tutorial, we will see how to implement a database migration in a spring boot application using Flyway. 1. Introduction Before going further in this tutorial, we will look at the common terminology such as introduction to Spring Boot, Lombok, and Flyway. 1.1 Spring Boot Spring boot is a module that provides rapid application development feature to the ...
Read More »How to Configure Multiple Data Sources in a Spring Boot Application
Welcome, in this tutorial, we will see how to configure multiple data sources in a single boot application. Here we will use a single source of truth (meaning a datatype of a single type but fetch the data from two different databases). 1. Introduction Before going further in this tutorial, we will look at the common terminology such as introduction ...
Read More »Spring Boot Health Check API
Welcome, this tutorial is about Spring Boot Health Check API. We will understand actuators in sping boot to monitor a spring boot application. 1. Introduction Before going further in this tutorial we will take a look at the actuator in spring boot. 1.1 Actuator The actuator is a sub-project of the spring framework that provides certain HTTP and JMX endpoints ...
Read More »Spring Boot URL Shortener
Welcome, in this tutorial, we will use Redis and Spring boot to demonstrate a URL shortener (also known as TinyURL) application. This application will create and stores the original URL in Redis in-memory cache. 1. Introduction Before going further in this tutorial we will take a look at the common terminology such as introduction to Spring boot, Docker, and Redis. ...
Read More »Spring Boot and SNS mobile notification Example
Welcome, in this tutorial, we will understand send a mobile notification through the Amazon Simple Notification Service (AWS SNS) in a spring boot application. 1. Introduction Before going further in this tutorial we will take a look at the common terminology such as introduction to Spring Boot, Lombok, and Amazon SQS. 1.1 Spring Boot Spring boot is a module that ...
Read More »