Spring Boot application properties, @Value & Runner Interface | Spring Boot Full Course #10

Опубликовано: 26 Июнь 2026
на канале: Coder Army
7,078
523

In this video, we will understand how configuration works in Spring Boot using application.properties.

Till now, we have written values directly inside Java classes. But in real applications, values like payment provider, retry count, timeout, database URL, API keys, and feature flags should not be hardcoded inside business logic.

That is why Spring Boot provides externalized configuration.

In this lecture, we will learn how Spring Boot automatically reads application.properties, how to inject values using @Value, and how to bind grouped properties using @ConfigurationProperties.

We will also understand how to run code in a Spring Boot application when we do not have a controller, endpoint, browser request, or Postman request. For that, we will explore CommandLineRunner and ApplicationRunner.

Topics Covered
What is application.properties?
Why should we avoid hardcoded values?
What is externalized configuration?
application.properties vs application.yml
How Spring Boot loads configuration values
Using @Value to inject properties
Default values with @Value
Problem with too many @Value annotations
Introduction to @ConfigurationProperties
Relaxed binding in Spring Boot
@Value vs @ConfigurationProperties
Why we need Runner interfaces
Why not manually call beans from main()
CommandLineRunner explained
ApplicationRunner explained
Difference between CommandLineRunner and ApplicationRunner
Complete Spring Boot startup flow

This video is part of our Spring Boot beginner-friendly series where we are learning Spring Boot step by step from first principles.

Best For
Spring Boot beginners
Java backend developers
Students learning Spring Framework
Anyone confused about Spring Boot configuration
Anyone learning Spring Boot without directly jumping into web APIs

JAVA Beginner to Advance Series :    • Java Full Course 2026  

Join System Design WhatsApp Group: https://www.whatsapp.com/channel/0029...

Code and Notes: Github : https://github.com/adityatandon15/Spr...

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/de...

Connect with Aditya Tandon
Instagram :   / adityatandon2  
LinkedIn :   / adityatandon2  
Twitter : https://x.com/adityatandon02

Timestamps:


На этой странице сайта вы можете посмотреть видео онлайн Spring Boot application properties, @Value & Runner Interface | Spring Boot Full Course #10 длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Coder Army 26 Июнь 2026, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 7,078 раз и оно понравилось 523 зрителям. Приятного просмотра!