
Basic features of Spring Boot
What are some of the basic features of Spring Boot and what makes it easy for people to work with?
Spring CLI
If you want to rapidly develop a Spring application, the Spring CLI lets you use the command line for that. It lets you run Groovy scripts which have a syntax very much like Java and with this you can also avoid a lot of the boilerplate code that you normally write for a regular Spring application.
Starter Dependency
So this one is basically like a starter pack for your dependency management. What this has is a list of about 30 pom files and based on your need, you can pick and chose which pom you want to use to quickly get started. Some examples of starter dependencies are Web Starter, Test Starter and Data JPA Starter.
Spring Initializer
This is basically a web based application which will create an internal project structure for you. This is the URL for it. https://start.spring.io/ You can specify all the dependencies that you need and it will create a basic project structure with everything that you need.
Auto Configuration
So what auto configuration does in Spring is that if you have certain jar files in your project, it will attempt to configure your Spring Boot application accordingly. For example, if you have HSQLDB on your classpath and you have not manually configured a database then it will automatically try to add an in memory database. Similarly when we add a Spring MVC jar, we could probably add a lot of bean configurations accordingly.
Spring Actuator
The Actuator provides many production ready features to the Spring application. These will help while running the Spring Boot application. Monitoring the app which is deployed, gathering various metrics and understanding traffic will become very easy when we use actuator. It also provides HTTP endpoints for users to interact with it which makes it very easy.
Logging and Security
These make sure that the application code is logged and is writing in as much as detail as in needed to troubleshoot production or even non production applications. Security is also a key concern here where in if the application needs security, Spring Boot provides a lot of features out of the box to secure your application.
This is basically a high level overview of what Spring Boot is and could do. In future sections, we will go over in detail what each of these modules do and how we can build enterprise grade web applications really fast with Spring Boot!
Leave Basic features of Spring Boot to:
Read more #java posts
Best Posts From potta
We have not curated any of potta's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From potta
- So all of a sudden, Robinhood ended it's debit card and created another account ca ...
- So I thought gmail space was going to keep growing forever and users wouldn't have ...
- In just three minutes help marine biologists attempt to bring life bac ...
- Long time no see?
- They have not even corrected 10% and probably never will. Just like #c ...
- A lot of Youtubers have been calling for a housing crash and a bubble ...
- What is SoFi Robo Investing?
- $3 worth $KAVA Network is available to be earned on Coinbase Earn #fr ...
- Does anyone have a code for me to sign up for ?
- The traditional way to get rich was to help the rich in some way or th ...
- Happy New Year everyone!
- Actual veggie burgers — free to try!
- There is an amazing deal going on right now on the Google Pixel 6 Pro ...
- Wow! So I guess Chat GPT just killed the Random Rewarder on read.cash!
- I posted answers for Robinhood's new Learn and Earn to earn $1 free $A ...
- Robinhood - Avalanche answers
- #Coinbase has an earn program for $3 of $SHPING token.
- so why did #coinbase delist #bch ? $bch
- At what net worth are basic needs met? #life
- Happy #Thanksgiving to everyone who celebrate!