In this video, we will learn how to use Spring Boot run() to build production-ready applications. Spring Boot run() is a simple command that can be used to start a Spring Boot application. It takes care of all the configuration and setup, so you can focus on writing your code.
This video is perfect for beginners who are new to Spring Boot. We will start by discussing what Spring Boot is and how it can help you build production-ready applications. Then, we will show you how to use Spring Boot run() to start a simple application.
By the end of this video, you will know how to use Spring Boot run() to build production-ready applications. You will also have a better understanding of how Spring Boot works.
In this video we will learn, how the spring boot works internally? To be very specific, We are going to discuss how the run method works in spring boot.
In the last session, we have understood the auto configuration magic triggered by the SpringApplciaiton.run(), but what interesting is Spring boot’s run() method also help us in several other ways.
It help us to set up an application context, Set up needed listeners , Print the spring boot banner during start up etc.
We can also control our spring boot application behaviour through passing program arguments to our run(). run(args) can be configured based on the spring boot run configuration eclipse properties.
In this step by step spring boot tutorial , We will be Unlocking the Secrets of Spring Boot and we will explore How Spring Boot run() works. We will also explore the annotation like @component,@SpringBootApplicaiton,@SpringBootConfiguration.
Let’s get started.
Timestamp
————
The run() possibilities - 00:00
Spring IOC and beyond (ConfigurableApplicaitonContext) - 02:49
@SpringBootApplication - 16:20
Spring Boot In Action - 18:56
spring boot run configuration - 21:42
Debugging a spring boot app -23:18
springapplication.run args method use case - 28:24