The SpringApplication class can be used to Bootstrap and launch a Spring application from a Java main method.
The following are the steps that are typically performed when a Spring Boot application is bootstrapped:
- Create an instance of Spring's ApplicationContext.
- Enable the functionality to accept command-line arguments and expose them as Spring properties.
- Load all the Spring beans as per the configuration.