Spring Boot
Spring Boot
o Spring Boot is a framework built on top of Spring that simplifies the setup and
development of new Spring applications by providing default configurations and
reducing boilerplate code.
o Auto-configuration.
o Starter dependencies.
o Spring Boot can use Spring MVC internally and simplifies its setup.
o Tomcat.
11. What are the other embedded servers supported by Spring Boot?
o Pre-configured Maven or Gradle dependencies for common use cases (e.g., spring-
boot-starter-web).
15. What are the different things that are defined in Starter Parent?
16. How does Spring Boot enforce common dependency management for all its Starter
projects?
19. What are some of the important things that can customized in application.properties?
21. How can you add custom application properties using Spring Boot?
o A way to segregate configuration and beans based on environments like dev, test,
prod.
o A module that provides production-ready features like health checks, metrics, and
environment info.
28. How do you monitor web services using Spring Boot Actuator?
29. How do you find more information about your application environment using Spring Boot?
o An interface that runs a block of code after the Spring Boot application starts. Useful
for initialization logic.
o @Component
o System.out.println("App Started");
o }
o }