Alexey Konokhov will tell us what the magic of SpringBoot auto-configuration is, how to enable it and what benefits we will get from it. For the demo, let's create a small project with REST endpoint and see how it works.
Timecodes
00:00 - Brief and clear
00:05 - Intro
00:12 - What will be told and who will be particularly interested in it
00:31 - What is Spring Boot and how to create a project using it
01:08 - Overview of the created project
01:49 - Adding REST endpoint to the project
02:42 - Adding entity and REST repository
04:36 - How auto-configuration magic works in Spring Boot
05:20 - @SpringBootApplication
05:55 - @EnableAutoConfiguration
06:14 - AutoConfigurationImportSelector
08:08 - SpringFactoriesLoader
08:30 - What SpringFactoriesLoader.LoadFactoriyNames Returns
09:14 - How SpringFactoriesLoader works
09:57 - What configurations were used in the application
11:32 - General picture of auto-configuration in Spring Boot
13:06 - Conclusion and results
13:29 - Subscribe!
________
Subscribe to our social networks:
Instagram: / mjc.talks
MJC Telegram Chat: https://t.me/mjcby
Community page: https://mjc.by
Смотрите видео How Spring Boot works and what is auto-configuration. Magic? онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь MJC 29 Июль 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 19,096 раз и оно понравилось 845 людям.