Medium java spring

11. How did Spring Boot remove XML configuration almost completely?

Sample answer: "Spring Framework already had Java config: @Configuration, @Bean, @Import and component scanning. Boot added auto-configuration on top, so the usual infrastructure beans are created for me. Together they replace almost all XML. XML is still supported with @ImportResource if needed."

Sources (2)
  1. Java-based container configuration: basic concepts
  2. Using auto-configuration