What is Auto Configuration in Spring boot?

devquora
devquora

Posted On: Feb 22, 2018

 

Autoconfiguration is way in Spring Boot to configure a spring application automatically on the basis of dependencies that are present on the classpath. It makes development easier and faster.

You can create a custom configuration for a MySQL data source in spring boot as

@Configuration 
public class MySQLAutoconfiguration {
 
//... 

}

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Spring Boot Interview Questions

    What does Spring Boot mean?

    Spring Boot is a system from “The Spring Team” to facilitate the bootstrapping and development of new Spring Applica..

    Spring Boot Interview Questions

    What are the various Advantages Of Using Spring Boot?

    Here are some of the various advantages of using Spring Boot:It is quite easy to create Spring Based applications with..

    Spring Boot Interview Questions

    What are the various features of Spring Boot?

    Various Spring Boot Features are as follows:Web Development Spring Application Application occasions and listeners Adm..