Difference between Spring and Spring Boot

Features

  • Core technologies: dependency injection, events, resources, validation, data binding, type conversion, AOP.
  • Testing: mock objects, TestContext framework, Spring MVC Test.
  • Data Access: transactions, DAO support, JDBC, ORM, Marshalling XML.
  • Spring MVC and Spring WebFlux web frameworks.
  • Integration: remoting, JMS, JCA, JMX, email, tasks, scheduling, cache.
  • Languages: Kotlin, Groovy, dynamic languages.

Spring-Boot

Whereas, Spring Boot is module of spring framework. It allows us to build a Standalone Application with almost zero configuration. It is widely used to develop a REST APIs. The primary feature of spring-boot is Autoconfiguration. It automatically configure classes based on the requirement. It creates a standalone application with less configuration.

Features

  • Create stand-alone Spring applications
  • Embed Tomcat, Jetty or Undertow directly (no need to deploy WAR files)
  • Provide opinionated ‘starter’ dependencies to simplify your build configuration
  • Automatically configure Spring and 3rd party libraries whenever possible
  • Provide production-ready features such as metrics, health checks, and externalized configuration
  • Absolutely no code generation and no requirement for XML configuration

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store