Home » spring boot

Tag Archives: spring boot

Top 20 Spring-boot interview questions

Bipartite Graph

1. Introduction Due to the content of this article, in the first section, I will start with a brief introduction about Spring and Spring-Boot framework, what are these frameworks and where to use them. Millions of developers are using Spring and Spring-Boot widely. 1.1. Spring Firstly, let’s start with a brief introduction to Spring frameworks which is a programming and ...

Read More »

Spring Boot @Scheduled Annotation Example

Hello. In this tutorial, we will explain the Scheduled annotation in a spring boot application. 1. Introduction @Scheduled annotation in spring boot allows to schedule jobs in the applications. This annotation internally uses the task scheduler interface for scheduling the annotated methods for execution. To set up the spring boot scheduler we need to understand the following – @EnableScheduling – ...

Read More »

DB Integration Tests with Spring Boot and Testcontainers

Hello. In this tutorial, we will explore the Testcontainers to perform integration tests for the jpa repositories in a Spring Boot app. 1. Introduction Testcontainers is a library that provides a clean way for writing the integration and end-to-end tests for the jpa repositories. In this example, we will create a simple rest api application to persist the data in ...

Read More »

Spring Boot MapStruct Example

Hello. In this tutorial, we will explore the mapstruct in a spring boot application. 1. Introduction 1.1 Mapstruct Mapstruct is an annotation-based code generator that simplifies the mapping implementations between the java beans. The code is generated via the plain method invocation and thus it is fast, type-safe, and easy to understand. It is often used in the multi-tiered application ...

Read More »

Build a REST API with Spring and Java Config

In this article we’ll see how to build a REST API using Spring Boot and Java Config. 1. Introduction Spring is a diversified framework and we can build basically any kind of application using its tools. Also, a majority of applications today use Spring Boot as the background of web services to connect and create a Server-Client solution. In the ...

Read More »

What are Microservices?

Hello. In this tutorial, we will explain what microservices are and how to use them. 1. Introduction Microservices in their real meaning is to develop a single application as a suite of independent small applications where each small application (known as microservice) runs its process and communicates with each other in the lightest way possible (such as with the help ...

Read More »

Spring IO Platform

In this article, we’re going to discuss Spring IO Platform, a version management tool used in the Spring Framework environment. Also, we’ll see how to use it together with Spring Boot. 1. Introduction Spring IO Platform brings together the core Spring APIs into a cohesive platform for modern applications. Also, It provides curated versions of numerous projects in the Spring ...

Read More »

Spring Boot Functional Endpoints

Welcome, in this tutorial, we will see how to create functional endpoints in a spring boot reactive application. 1. Introduction Before going further in this tutorial, let us understanding web flux and reactive programming. 1.1 Webflux Webflux is the reactive-web framework in spring and was added as a part of the 5.0 release It offers asynchronous, non-blocking, and event-driven approach ...

Read More »

Spring Boot Application Deployment on Heroku

Welcome, in this tutorial, we will see how to deploy a simple spring boot application on the Heroku platform. 1. Introduction Before going further in this tutorial, let us understand Spring Boot. Spring boot is a module that provides rapid application development feature to the spring framework including auto-configuration, standalone-code, and production-ready code It creates applications that are packaged as ...

Read More »

Finding Spring Versions

In this article, we’re going to discuss Spring Framework and Spring Boot versions and which Java version works on each one. 1. Introduction When you work with the Spring environment, maybe you are familiar with both Framework and Boot. Also, we can use just one of them to create an application as well. But, for sure that what version we ...

Read More »