In Spring Boot, which file is primarily used by the auto-configuration system to list all the candidate configurations?
- application.properties
- application.yml
- bootstrap.properties
- spring-config.xml
In Spring Boot, the auto-configuration system primarily uses the application.yml (or application.properties) file to list all the candidate configurations. This file allows developers to specify configuration properties and settings for their Spring Boot application, including those related to auto-configuration. It's a key component in customizing the behavior of Spring Boot applications.
Loading...
Related Quiz
- How does the @PreAuthorize annotation in Spring Security differ from the @Secured annotation in terms of the conditions that can be applied?
- Which annotation is used to define a bean that holds the business logic in a Spring Boot application?
- What is the purpose of the @Primary annotation in Spring?
- For securing REST APIs in Spring Security, the use of _______ is recommended to represent the user's authorization information.
- In connection pooling, what does the term "Maximum Pool Size" refer to?