Spring Boot Auto Configuration | Example
HTML-код
- Опубликовано: 28 июл 2024
- In this video, let's understand how spring boot auto configuration works internally.
Table of Contents:
1. Intro ( 00:00)
2. What is Spring Boot Auto-configuration ( 1:45 )
3. Why do we need Spring Boot Auto Configuration? (2:35)
4. Spring Boot Auto Configuration - theory (5:18)
5. Spring Boot Auto-Configuration in action ( 6:55)
6. Where is Spring Boot Auto Configuration implemented? (16:00)
#SpringBoot #JavaGuides
Spring Boot Auto-configuration:
Spring Boot auto-configuration attempts to automatically configure your Spring application based on the jar dependencies that you have added.
- All auto-configuration logic is implemented in spring-boot-autoconfigure.jar.
- @ConditionalOnClass: This configuration is enabled only when these classes are available in the classpath.
- @ConditionalOnMissingBean: This bean is configured only if there is no other bean configured with the same name.
Table of Contents:
1. Intro ( 00:00)
2. What is Spring Boot Auto-configuration ( 1:45 )
3. Why do we need Spring Boot Auto Configuration? (2:35)
4. Spring Boot Auto Configuration - theory (5:18)
5. Spring Boot Auto-Configuration in action ( 6:55)
6. Where is Spring Boot Auto Configuration implemented? (16:00)
Very informative, thank you!
Beautifully explained with an example 👍
Excellent information. Thanks👌
Very very useful video 👌🏻👌🏻
Good video thank you
Excellent explanation
Very nice explanation
Sir what is classpath path I don't have a clear picture of this when u explain autoconfiguration
Classpath is location where your jar files ( contains . class files) present. Whenever you add maven dependency to pom.xml, maven will download that dependency as JAR file and add to the classpath. Spring boot app refer to the classpath where all the jars files located.
@@JavaGuides thanks 🤗
What is classpath?
Classpath is location where your jar files ( contains . class files) present. Whenever you add maven dependency to pom.xml, maven will download that dependency as JAR file and add to the classpath. Spring boot app refer to the classpath where all the jars files located.