What is the difference between spring and spring Boot framework?

Ans :-

s.NoSpringSpring Boot
1.Spring framework is widely used Java EE framework for building the applications.Spring boot Framework is widely used to develop Rest APIs 
2.The primary feature of the Spring Framework is dependency injection. The primary feature of the Spring boot is Autoconfiguration.It is automatically configures the classes based on the requirement
3.The developer writes a lot of code(boilerplate code) to do the minimal taskit reduces boilerplate code
4.to test the spring project,we need to set up the server explicitlySpring boot offers embedded server such as Jetty and Tomcat, etc
5.It does not provide support for an in-memory database.It offers several plugins for working with an embedded and in-memory database such as H2.
6.Developers manually define dependencies for the Spring project in pom.xmlSpring boot comes with the concept of starter in pom.xml file that internally takes care of downloading the dependencies JAR’s based on spring boot Requirement

Leave a Reply

Your email address will not be published. Required fields are marked *

*