Spring VS Spring Boot

Spring
Spring framework is one of the most popular used for application development using Java and its main feature is Dependency injection and Inversion of control(IOC),Here we can develop loosely coupled application.

Spring Boot
Spring Boot is  a module of Spring Framework and it avoids lot of Boilerplate code. Used to create stand-alone  applications with minimal  Spring configuration which includes Embed Tomcat,Jetty or Undertow(no need to deploy war files).


Spring vs Spring Boot


The Primary feature of Spring Framework is Dependency injection or Inversion of Control(IOC) The Primary feature of Spring Boot is Auto-configuration .Automatically configures the classes based on the Requirements.
 The Developer writes lot of code (Boiler code) to do minimal task.Its reduce the boiler code.
 Here we can develop loosely couple applications and helps make to things simpler.Here we can create Stand-alone applications with minimum configuration.
We need to setup the server explicitly to test spring projectWhereas in Spring Boot having embedded server such as Tomcat, Jetty etc.
Developers manually define the Dependencies in Spring project.Spring Boot internally taking care to download dependencies like JARs based on project.
Aims to Simplify Java EE development. Aims to shorten the code length and provide easier way to develop web applications.

Comments

Popular posts from this blog

System Requirements For Spring Boot

Creating a Spring Boot project with Spring Initializer

Creating Simple Spring Boot Application Using STS In Eclipse