Spring Vs Springboot
Spring Vs Springboot
The most important feature of the Spring The most important feature of the Spring Boot
Framework is dependency injection. is Autoconfiguration.
To run the Spring application, we need to set Spring Boot provides embedded servers such
the server explicitly. as Tomcat and Jetty etc.
It doesn’t provide support for the in-memory It provides support for the in-memory database
database. such as H2.
Developers need to write boilerplate code for In Spring Boot, there is reduction in boilerplate
smaller tasks. code.
Developers have to define dependencies pom.xml file internally handles the required
manually in the pom.xml file. dependencies.
Difference between package.json and package-lock.json
package.json package.lock.json
It records important metadata about the It allows future devs to install the same
project. dependencies in the project.