Spring vs Spring Boot

Spring Spring Boot
Spring framework is a java EE framework that is used to build applications. Spring Boot framework is mainly used to develop REST API’s
The primary or most important feature of the Spring framework is dependency injection. The main or primary feature of the Spring Boot is Autoconfiguration.
Its goal is to make Java EE (Enterprise Edition) development easier, allowing developers to be more productive. Spring Boot provides the RAD(Rapid Application Development) feature to the Spring framework for faster application development.
Spring framework helps to create a coupled application. Spring Boot helps to create a stand-alone application.
In the Spring framework to test the Spring Project, we need to set up the servers explicitly. Spring Boot offers built-in or embedded servers such as Tomcat and jetty.
To run a Spring application a deployment descriptor is required. In Spring Boot there is no need for the Deployment descriptor.
Spring framework does not provide support for the in-memory database. Spring Boot provides support for the in-memory database such as H2.
Spring framework requires too many lines of code (boilerplate code) even for minimal tasks. You avoid boilerplate code which reduces time and increases productivity.
In the Spring framework, you have to build configurations manually. In Spring Boot there are default configurations that allow faster bootstrapping.
Spring Framework requires a number of dependencies to create a web app. Spring Boot, on the other hand, can get an application working with just one dependency.
Spring requires both the standard spring-security-web and spring-security-config dependencies to set up security in an application. Spring Boot also requires these dependencies to make it work, but we only need to define the dependency of spring-boot-starter-security as this will automatically add all the relevant dependencies to the classpath.
Testing in Spring Boot is difficult in comparison to Spring Boot due to a large amount of source code. Testing in Spring Boot is easier due to the reduced amount of source code.
In the Spring framework, XML Configuration is required. No need for XML configuration in Spring Boot.
Spring framework does not provide any CLI tool for developing and testing applications. Spring Boot provides a CLI tool for developing and testing Spring Boot applications.
Spring framework does not provide any plugin for maven, Gradle, etc. like Spring Boot. Spring Boot provides build tool plugins for Maven and Gradle. The Plugins offer a variety of features, including the packaging of executable jars.