Spring Boot Project Question
Spring Boot Project Question
Q.#What are the formats of Spring Boot configuration files? What is the difference
between them?
A) .properties and .yml, the main difference between them is the writing format.
1).properties
App.user.name = javastack
2).yml
Q.#What are the core configuration files for Spring Boot? What is the difference
between them?
A) The core configuration files for Spring Boot are the application and bootstrap
configuration files.
The application configuration file is easy to understand and is primarily used for
automated configuration of Spring Boot projects.
Q.#When using Spring Cloud Config to configure the hub, you need to add the
configuration properties of the connection to the configuration center in the
bootstrap configuration file to load the configuration information of the external
configuration center.
Q.#What are the ways in which Spring Boot can read configurations?
Q.#What log framework does Spring Boot support? Which is the recommended and
default log framework?
A) Spring Boot supports Java Util Logging, Log4j2, and Lockback as the logging
framework. If you use the Starters launcher, Spring Boot will use Logback as the
default logging framework.
Spring Loaded
Spring-boot-devtools
Properties file;
YAML files;
Q.#What are the new features of Spring Boot 2.X? What is the difference with 1.X?
Configuration change
HTTP/2 support