Spring Boot Auto Configuration - Understand The Magic

preview_player
Показать описание

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Join Our Free Courses
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Our Top 10 Courses
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30+ Courses. 500,000+ Learners. Amazing Reviews.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
FREE Courses For You
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Other Recommendations
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Understand Spring Boot Auto Configuration.
Why do we need Auto Configuration?
What is Auto Configuration?
A few examples of Spring Boot Auto Configuration
How is Auto Configuration implemented in Spring Boot?
How to debug Auto Configuration?
Spring Boot looks at a) Frameworks available on the CLASSPATH b) Existing configuration for the application. Based on these, Spring Boot provides basic configuration needed to configure the application with these frameworks. This is called Auto Configuration.
Рекомендации по теме
Комментарии
Автор

What a lovely, logical tutorial. After several tutorials on Autoconfiguration, only this one clearly explained, what is it, why do we need it, where is autoconfiguration implemented. I love your logical and easy to understand approach, that demystifies all the "magic" behind Spring. Thank you :)

michag.
Автор

what you are doing in this video here there where what is that

ankitashukla
Автор

I would like to point out what I believe is incorrect in the explanation.
@Conditional(someClass.class) when annotated on a Bean doesn't mean create this Bean in the IOC container if "someClass" is present on the classpath, instead it means that we have a class somewhere in the code called someClass which implements an interface "Condition". In that class we override a method called matches. This method returns a Boolean so in the method we implement the logic to look in the classpath and see if whatever class we are looking for is present or not and then return true or false based on that.

raffayhussain
Автор

How to use yaml file in spring boot can u share the tutorial plz, especially default .yml property file need to use, for example, connection-timeout

devanathannarasimhan
Автор

what is classpath nobody has ever answered this question.

ankitaswal