• Register

Share:- Whatsapp Facebook Facebook

------------------------------------- Welcome to Developerhelpway Q&A, where you can ask questions and receive answers from other members of the community.

Categories

0 votes
21 views
What are the key components of Spring Boot framework?
in Spring Boot by

1 Answer

0 votes

Spring Boot Framework has following components:-

  1. Spring Boot Starter
  2. Spring Boot AutoConfigurator
  3. Spring Boot Actuator
  4. Spring Boot CLI
  5. Spring Boot Initilizr 

Spring Boot Starters:- The main responsibility of Spring Boot Starter is to combine a group of related dependencies into single dependencies. Spring Boot starters can help to reduce the number of manually added dependencies just by adding one dependency. So instead of manually specifying the dependencies just add only one starter. Examples:- spring-boot-starter-web, spring-boot-starter-test, spring-boot-starter-data-jpa, etc.

Spring Boot AutoConfigurator:- With Spring, we need to make lot of XML based configurations. Spring Boot AutoConfigurator will simplify all these XML based configurations. It also reduces the number of annotations.

Spring Boot CLI:- Spring Boot CLI (Command Line Interface) is a Spring Boot software to run and test Spring Boot applications from command prompt. When we run Spring Boot applications using CLI, then it internally uses Spring Boot Starter and Spring Boot AutoConfigurate components to resolve all dependencies and execute the application.

Spring Boot Actuator:- Spring Boot Actuator is a sub-project of Spring Boot. It adds several production grade services to your application with little effort on your part. Actuators enable production-ready features to a Spring Boot application, without having to actually implement these things yourself. The Spring Boot Actuator is mainly used to get the internals of running application like health, metrics, info, dump, environment, etc. which is similar to your production environment monitoring setup.

by (3k points)
...