If you have the Spring Boot application annotated with @SpringBootApplication, then the Application Context will be automatically instantiated for you, because: @SpringBootApplication annotation consists of:
• @EnableAutoConfiguration - which enables Spring Boot’s auto-configuration mechanism;
• @ComponentScan - which enable @Component scan on the package where the application is located;
• @Configuration - allows to register extra beans in the context or import additional configuration classes.