Spring and SpringBoot

Why Use Spring Framework

The core concept of Spring

  • Spring is a Java language-based framework

  • The greatest feature of the Java language β†’ Object-Oriented Language

  • Spring is a framework that brings out the powerful features of object-oriented languages

  • Spring is a framework that helps develop good object-oriented applications!

Differences Between SpringBoot and Spring

Why use Boot?

SpringBoot supports convenient use of Spring (It is used as the default nowadays)

  • Easy dependency management β†’ starter

    • Provides starter dependencies for easy build configuration

  • Auto Configuration

    • Manages all internal dependencies needed for development

  • Embedded WAS

    • Embeds a WAS like Tomcat, so there is no need to install a separate WAS

  • Automatic configuration of Spring and 3rd party (external) libraries

    • When using external libraries, SpringBoot automatically specifies the version

  • Provides production-ready features such as metrics, health checks, and externalized configuration

Last updated