Spring and Spring Boot are both frameworks within the Spring ecosystem, but they serve different purposes and have different scopes:
Spring Framework:
Spring Framework is a comprehensive framework for building Java applications.
It provides support for various layers of application development such as dependency injection, aspect-oriented programming, transaction management, MVC web framework, and more.
Spring Framework requires a considerable amount of configuration for setting up an application.
Spring Boot:
Spring Boot is a sub-project of the Spring Framework that aims to simplify the bootstrapping and development of Spring applications.
It provides auto-configuration and opinionated defaults to get you up and running quickly with Spring-based applications.
With Spring Boot, you can create stand-alone, production-grade Spring-based applications with minimal setup and configuration.
It simplifies the dependency management through starters, which are a set of convenient dependency descriptors that you can include in your project's build configuration to get started with various Spring projects quickly.
Spring Boot also offers a powerful command-line interface for running and testing Spring Boot applications.
In summary, Spring Framework is a comprehensive framework for building Java applications, while Spring Boot is a tool that simplifies the process of developing and deploying Spring-based applications by providing conventions and defaults out of the box.
Credit : https://www.naturalreaders.com/online/