I'm reading Difference Between @ComponentScan and @EnableAutoConfiguration in Spring Boot article. See this:
It automatically creates and registers
beansbased on both the included jar files in the classpath and the beans defined by us.
When we define the
spring-boot-starter-webdependency in our classpath, Spring boot auto-configuresTomcatandSpring MVC.
I can understand it creates and registers beans based on both the included jar files. But I can't figure out what exact things been configured. Does it mean it will execute some beans automatically? Or something else? Is there any other example explain this?