Skip to main content

Spring vs Spring Boot

Learn Spring vs Spring Boot (Spring Boot Basics, Spring Boot) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

Not a Choice Between Two Things The question is usually asked as though these were alternatives. They are not. Spring Boot is a layer on top of the Spring Framework - every Spring Boot application is a Spring application, using the same container, the same @Component , the same @Transactional . Boot writes no new container and replaces no Spring feature. It answers a different question: not "how do I wire objects together" but "why must I configure the same twenty things in every project".

More lessons in Spring Boot Basics