Spring Boot Configuration Properties: Working with Lists & Maps

  Рет қаралды 7,293

Dan Vega

Dan Vega

Күн бұрын

In this tutorial you will learn how to create configuration properties in Spring Boot. This will bind properties to a type (class or record) and you will learn how to work with maps and lists.
🔗Resources & Links mentioned in this video:
GitHub Repo: github.com/danvega/list-map-p...
👋🏻Connect with me:
Website: www.danvega.dev
Twitter: / therealdanvega
Github: github.com/danvega
LinkedIn: / danvega
Newsletter: www.danvega.dev/newsletter
SUBSCRIBE TO MY CHANNEL: bit.ly/2re4GH0 ❤️

Пікірлер: 23
@user-bx2gj1zh3q
@user-bx2gj1zh3q 5 ай бұрын
Just subscribed. Good content Dan. I highly appreciate your content
@calintamas7576
@calintamas7576 5 ай бұрын
Super nice and new! Thx, Dane!
@addy9360
@addy9360 5 ай бұрын
Great tutor! I love your videos
@jetlavi
@jetlavi 5 ай бұрын
Thank you, Dan.. very useful! :D
@AleksandarT10
@AleksandarT10 5 ай бұрын
Great video, helpful stuff!
@WisomofHal
@WisomofHal 3 ай бұрын
Good stuff! Thanks for sharing!
@DanVega
@DanVega 2 ай бұрын
Thanks for watching!
@ArnaudPOUTIEU
@ArnaudPOUTIEU 5 ай бұрын
Gratitudes Dan!
@erfannavab9805
@erfannavab9805 5 ай бұрын
It was great. Thanks
@aziztolearn
@aziztolearn 5 ай бұрын
hit that subscribe button, this channel should have 100K in this year
@DanVega
@DanVega 5 ай бұрын
That is my pipe dream goal for this year 🤩 Thank you!
@svalyavasvalyava9867
@svalyavasvalyava9867 4 ай бұрын
Thank you infinitely for such an interesting and useful video 😊 I have always been defining properties in the application.properties file, however, lately I have tried to define in the application.yaml file and I find it very convenient, too 😊
@Muescha
@Muescha 5 ай бұрын
Interesting. Why I don't need to add the key "url" for the website record?
@SunidhiBatra-xs8zi
@SunidhiBatra-xs8zi 2 ай бұрын
Can you give us an example for Map to be written in yaml? That would help as this ones looks tricky
@rbcm1
@rbcm1 5 ай бұрын
The @Autowire annotation in the tests is redundant/not necessary since some time, right?
@revetastogne
@revetastogne 5 ай бұрын
Hi Dan! I'm wondering what provides an autocomplete for Spring properties in intellij? I don't have autocomplete for properties and would like to install it. Thanks in advance!
@andreas4115
@andreas4115 4 ай бұрын
Intellij Idea Ultimate. The community edition doesnt have spring specific autocomplete
@freebusdoctor
@freebusdoctor 5 ай бұрын
Sir, may I ask a question? Why do we use the @Autowired annotation instead of constructor injection? Are they the same? Thanks for enlightening.
@user-og7de8ih4f
@user-og7de8ih4f 5 ай бұрын
Yes they are same
@konkos5473
@konkos5473 5 ай бұрын
@@user-og7de8ih4f [As far as I am aware!] Technically they are not the same. Both accomplish the same goal. However, field injection uses Java Reflection which costlier than constructor injection. In addition, I believe field injection can potentially cause issues during testing due to the manner the object is initialized
@Muescha
@Muescha 5 ай бұрын
I know the advice is to.use constructor injection That's why I also interested to know why in test wore the field injection is used.
@JamesStansell
@JamesStansell 5 ай бұрын
@@Muescha my understanding is that field injection is fine within the test itself, because you are not going to write a test for the test.
@m3hdim3hdi
@m3hdim3hdi 4 ай бұрын
what's the name of this intellij theme?
5 Common Mistakes Spring Developers Make
18:06
Dan Vega
Рет қаралды 16 М.
YAML Tutorial | Learn YAML in 10 Minutes
10:08
Kahan Data Solutions
Рет қаралды 89 М.
Эффект Карбонаро и нестандартная коробка
01:00
История одного вокалиста
Рет қаралды 9 МЛН
Happy 4th of July 😂
00:12
Alyssa's Ways
Рет қаралды 65 МЛН
ЧУТЬ НЕ УТОНУЛ #shorts
00:27
Паша Осадчий
Рет қаралды 8 МЛН
AWS MySQL Aurora Vs RDS - What one should I chose?
7:02
Johnny Chivers
Рет қаралды 16 М.
4 Spring Boot Mistakes to AVOID in 2024
15:18
Java Brains
Рет қаралды 55 М.
Spring AI - Bring your own data by Stuffing the Prompt
16:13
Dan Vega
Рет қаралды 2,8 М.
Java Collections Framework | Full Course ✅
3:25:12
Java Guides
Рет қаралды 348 М.
Что делать если в телефон попала вода?
0:17
Лена Тропоцел
Рет қаралды 1,8 МЛН
Как удвоить напряжение? #электроника #умножитель
1:00
Hi Dev! – Электроника
Рет қаралды 939 М.
Battery  low 🔋 🪫
0:10
dednahype
Рет қаралды 12 МЛН
Как распознать поддельный iPhone
0:44
PEREKUPILO
Рет қаралды 2,1 МЛН