Spring boot

  • Easy to understand and develop spring applications
  • Reduces the development time
  • Increases productivity
  • To avoid complex XML configuration in Spring
  • Offer an easier way of getting started with the application
  • To develop a production-ready Spring application in an easier way
  1. Standalone Application — Can simply build the application jar and run the application with no need to customize the deployment.
  2. Production-Like Features — Health checks, metrics, and externalized configurations.
  3. Auto-Configurable — Spring and other 3rd party frameworks will be configured automatically.
  4. Embedded Servers — Comes with prebuilt Tomcat, Jetty, and Undertow application servers that do not require further installation to use. This also provides faster more efficient deployments resulting in short restart times.
  5. Starter Dependencies — This will provide opinionated dependencies designed to simplify the build configuration. This also provides complete build tool flexibility (Maven and Gradle).

How does it work

  • @SpringBootApplication
  • @EnableAutoConfiguration
  • @ComponentScan
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
</dependency>

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

My PM Internship at Nvidia

“Hard” Google Coding Interview Question: Racecars!

How to deploy flutter web project to GitHub

How to deploy flutter web project to GitHub

UI Test Framework for OutSystems

5 Things We Overlooked When Putting Our First App on Kubernetes

Optimisation using Sparklens

What Is GitOps?

Creating a Token using solidity and web3js with Staking, Burning and Dapp interactions and…

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Udulatharupathi

Udulatharupathi

More from Medium

Why Spring Boot is called opinionated?

H2(In-Memory) Database With Spring Boot