2- Spring Boot and its key features

 


What is spring boot? 

Spring Boot is basically an extension of Spring framework.

Java Spring Boot simplifies development of web applications and microservices with Java Spring Framework.

The main goal of spring boot is to quickly create production ready spring based applications without requiring developers to write the same boiler plate configuration again and again.


What are features of Spring Boot and Explain?

--> Spring Boot Starters

--> Spring Boot Autoconfiguration

--> Externalised Configuration

--> Spring Boot Actuator

--> Easy to use embedded servlet container support


 Image 1


--> Spring Boot Starters

Spring Boot provides a number of starters that allow us to add jars in the classpath.

 Spring Boot built-in starters make development easier and rapid.

OR 

Spring Boot Starters are basically dependencies that helps us by adding libraries that we are going to use frequently.

For example-

 spring-boot-starter-web will give us libraries related to spring MVC,web MVC,Embedded Server.


--> Spring Boot Autoconfiguration

Spring Boot auto-configuration automatically configures the Spring application based on the jar dependencies that we have added.


--> Externalised Configuration

 Spring Boot externalized configuration reads values from a variety of sources including operating system environment variables, property files and command line arguments.


--> Spring Boot Actuator

To monitor the configuration details


--> Easy to use embedded servlet container support

Spring Boot includes support for embedded Tomcat, Jetty, and Undertow servers.

 Most developers will simply use the appropriate ‘Starter’ to obtain a fully configured instance.

 By default the embedded server will listen for HTTP requests on port 8080(default server is tomcat).

Comments

Popular posts from this blog

INDEX OF Zeek Spring Boot