As programmers, we must configure Spring. Spring must know:
Where to start In this case, start with SpringApplication.run() Which classes the container must process In this case, use Annotations How to create instances of classes For Spring annotations, use @Component, @Service, @Bean, etc. For JSR330 annotations, use @Named