This tutorial demonstrates how to use Spring Boot’s built-in configuration capabilities, including which are the available formats for configuration and how to inject properties from your configuration sources.
Get started with Spring Boot
Spring Boot makes it easy to create stand-alone, production-grade Spring based services through simplified dependency management, simplified deployment, and autoconfiguration.
The latest version of Spring Boot is: 2.7.0
If you are new to Spring Boot, we recommend starting from this tutorial:
Top Spring boot interview questions (2022)
Here is our collection of Spring Boot interview questions which will let you check the level of knowledge of Spring Boot framework from many angles.
Hello World Spring Boot
This is a quickstart introduction to Spring Boot that will teach you how to create your first Spring Boot application using just the Command Line.
Using ApplicationReadyEvent to run code at Spring Boot startup
The ApplicationReadyEvent (https://docs.spring.io/spring-boot/docs/current/api/org/springframework/boot/context/event/ApplicationReadyEvent.html) can be used to trigger application code when a Spring Boot application is started. Let’s see how to do it in practice.
How to run a Spring Boot application from the Command Line
Running a Spring Boot application from the command line is pretty easy. Let’s see how to do it.
How to build a custom Spring Boot Starter in no time
In this tutorial we will learn how to create a custom Spring Boot Starter. Spring Boot starters make development easier and rapid. There are several built-in starters for most common tasks, however you can create your own starter too in order to reuse some functionalities across your applications.
How to run a Spring Boot application
This tutorial will teach you how to run a Spring Boot application from the Command Line using different options.
Spring Boot cheatsheet
Here is a Spring Boot cheatsheet:
How to set JVM settings in a Spring Boot application
The simplest way to set JVM settings in a Spring Boot application is to execute the jar file and passing the JVM settings as in the following example: $ java -Xmx32m -Xss256k -jar target/demo-app-SNAPSHOT.jar Another option is to set JVM arguments in the spring-boot-maven-plugin: For example, the following configuration suspend the process until a debugger … Read more
How to execute a Java class at Spring Boot startup
This tutorial will teach you a simple way to run a Java Class when your Spring Boot application is starting up.