⚡ Spring Boot @ConfigurationProperties Tips & Tricks

preview_player
Показать описание
Video explaining how to validate @ConfigurationProperties annotated classes, how to get nice autocompletion in the IDE and how to reuse existing configuration properties classes multiple times.

In my channel I discuss things I believe are relevant to either Java & Spring beginners, or advanced developers who want to stay up to date. Feedback is very much welcome!

--
Music:
Creative Commons — Attribution-ShareAlike 3.0 Unported— CC BY-SA 3.0
Рекомендации по теме
Комментарии
Автор

This is amazing tutorial. Thanks for sharing. Can you please cover such tutorials on SpringBoot Configurations and deployment using Docker?

jasper
Автор

Good to see more tricky info abt configuration

rajumurugesan
Автор

Very nice video! I'm trying to learn as much Spring boot as possible for a new job I got, this is very helpful

GrandMasterPrayer
Автор

Works also with nested ConfigurationProperties, where the inner ones should not be annotated with @ConfigurationProperties. And also spring supports the mapping from .yaml files.

larryd
Автор

Great video! I use spring boot 2.2 in my tutorial so it's good so see how this worked before version 2.2.

dicksonthedeveloper
Автор

You could do an example with Java8 Duration & FileSize so folks won't be specifying "timeout-seconds=XX" and instead "timeout=XXs"

Автор

Do you have any example for will Dependency Jar referring to its own application.properties?

rajv
Автор

HI!
How we can resolve
my.property.first
my.property.some.second ?

olehstepaniak
Автор

It seems that autocomplete doesn't work with nested properties e.g. my.custom.property

barslo
welcome to shbcf.ru