Complete Spring 7 & Spring Boot 4 course from beginner to Advance using first thought principle.
Curated by: Coder Army (29 videos)
In this video, we move from Spring Core and XML-based configuration to the Spring Boot way of starting and configuring applications. Till now, we manually created the Spring container using ApplicationContext, wrote configuration classes, used @ComponentScan, and fetched beans manually. But in real-world applications, writing the same startup setup again and again becomes repetitive. That is exactly where Spring Boot comes in. In this lecture, we will understand how Spring Boot starts the application, prepares the Spring container, scans components, creates beans, injects dependencies, and applies auto-configuration based on the dependencies present in the project. We will also break down the most important Spring Boot annotation: @SpringBootApplication and understand how it internally combines: @SpringBootConfiguration @EnableAutoConfiguration @ComponentScan We will also discuss how SpringApplication.run() works, why spring-boot-starter is used, what spring-boot-starter-parent does, how auto-configuration works internally, and why Spring Boot does not start Tomcat unless we add a web dependency. By the end of this video, you will clearly understand that Spring Boot is not magic. It is Spring Core plus a smart startup and configuration system. Topics Covered Why Spring Boot after Spring Core? Spring Core startup vs Spring Boot startup What is SpringApplication.run()? What is @SpringBootApplication? @SpringBootConfiguration explained @ComponentScan in Spring Boot @EnableAutoConfiguration explained How Spring Boot auto-configuration works @ConditionalOnClass @ConditionalOnMissingBean Spring Boot starter dependency Spring Boot starter parent Why Tomcat does not start without web dependency Our beans vs auto-configured beans Best For Java developers learning Spring Boot Students who already know Spring Core Beginners confused between Spring Core and Spring Boot Anyone preparing for Spring Boot interviews If you are learning Spring Boot from scratch, this video will help you build a strong foundation before moving into Spring MVC, REST APIs, databases, and real-world backend development. JAVA Beginner to Advance Series : https://youtube.com/playlist?list=PLQEaRBV9gAFsR15tNo2QLF9d2qc-c018p&si=lNuF5lyt4nKz9Up7 Join System Design WhatsApp Group: https://www.whatsapp.com/channel/0029VbBF1XKF1YlMyYuPM23s Code and Notes: Github : https://github.com/adityatandon15/Spring-Framework-Full-Course We have paid courses on DSA, Web Development , Blockchain, System Design & GenAI. Join Courses: https://strikes.in/ Coder Army Website: https://coderarmy.in/#home Coder Army App: https://play.google.com/store/apps/details?id=com.rohit.negi Connect with Aditya Tandon Instagram : https://www.instagram.com/adityatandon2 LinkedIn : https://www.linkedin.com/in/adityatandon2 Twitter : https://x.com/adityatandon02 Timestamp: 00:00 Intro 00:47 Spring Core Review 10:15 Making Spring Boot Project 11:44 spring boot starter dependency 17:00 spring boot starter parent 21:39 Collecting IOC COntainer beans 26:34 Understanding @SpringBoot Application 29:01 @SpringBootConfiguration & @ComponentScan 38:32 @EnableAutoConfiguration 59:40 Outro