You know, Spring is the world’s most popular Java framework which is used by many developers for developing enterprise Java applications. Perhaps one of the most confusions that comes to a new developer’s mind is the terms Spring vs. Spring Boot. How do they relate? What are the differences?
So in this post, I’d like to help you clear this confusion - understand the key concepts and differences of Spring and Spring Boot.
Note: In this article, the term Spring refers to the Spring platform as a whole - Not core of Spring framework.
Let’s understand the definition first. What Spring (platform) is and what Spring Boot is actually about.
What is Spring?
Spring is an ecosystem of projects that make programming Java quicker, easier, and safer for everybody. Spring’s focus on speed, simplicity, and productivity. The main projects under Spring’s umbrella are:
What is Spring Boot?
Spring Boot is a way that helps developers get started with Spring framework with minimum effort. Spring Boot makes it easy to create stand-alone, production-grade Spring-based apps.
Spring Boot is a project of Spring platform - it is not a replacement of Spring Framework. Developers use Spring Boot to save time and increase productivity. Learn more about Spring Boot.
You can develop a Spring-based application with or without Spring Boot. So what are the differences?
Development with Spring Boot:
So far I have explained the key differences between Spring and Spring Boot. Hope you’re pretty clear now. To sum up:
Learn more: What is Spring Boot actually about? (and what it is not)