0% found this document useful (0 votes)
13 views2 pages

Spring Vs Springboot

Shopify vs spring

Uploaded by

apuravb16
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
0% found this document useful (0 votes)
13 views2 pages

Spring Vs Springboot

Shopify vs spring

Uploaded by

apuravb16
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1/ 2

Spring Spring Boot

Spring is an open-source lightweight Spring Boot is built on top of the conventional


framework widely used to develop enterprise spring framework, widely used to develop REST
applications. APIs.

The most important feature of the Spring The most important feature of the Spring Boot
Framework is dependency injection. is Autoconfiguration.

It helps to create a loosely coupled


It helps to create a stand-alone application.
application.

To run the Spring application, we need to set Spring Boot provides embedded servers such
the server explicitly. as Tomcat and Jetty etc.

To run the Spring application, a deployment There is no requirement for a deployment


descriptor is required. descriptor.

To create a Spring application, the developers


It reduces the lines of code.
write lots of code.

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 describes the exact tree that was generated


It contains basic information about the
to allow subsequent installs to have the
project.
identical tree.

It is automatically generated for those


It is mandatory for every project. operations where npm modifies either
node_modules tree or package.json.

It records important metadata about the It allows future devs to install the same
project. dependencies in the project.

It contains information such as name, It contains the name, dependencies, and


description, author, script, and dependencies. locked version of the project.

You might also like