Spring Boot Configuration Properties: Working with Lists & Maps

Ғылым және технология

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-bx2gj1zh3q4 ай бұрын

    Just subscribed. Good content Dan. I highly appreciate your content

  • @jetlavi
    @jetlavi4 ай бұрын

    Thank you, Dan.. very useful! :D

  • @addy9360
    @addy93604 ай бұрын

    Great tutor! I love your videos

  • @calintamas7576
    @calintamas75764 ай бұрын

    Super nice and new! Thx, Dane!

  • @AleksandarT10
    @AleksandarT104 ай бұрын

    Great video, helpful stuff!

  • @WisomofHal
    @WisomofHalАй бұрын

    Good stuff! Thanks for sharing!

  • @DanVega

    @DanVega

    Ай бұрын

    Thanks for watching!

  • @erfannavab9805
    @erfannavab98054 ай бұрын

    It was great. Thanks

  • @aziztolearn
    @aziztolearn4 ай бұрын

    hit that subscribe button, this channel should have 100K in this year

  • @DanVega

    @DanVega

    4 ай бұрын

    That is my pipe dream goal for this year 🤩 Thank you!

  • @ArnaudPOUTIEU
    @ArnaudPOUTIEU4 ай бұрын

    Gratitudes Dan!

  • @svalyavasvalyava9867
    @svalyavasvalyava98673 ай бұрын

    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 😊

  • @SunidhiBatra-xs8zi
    @SunidhiBatra-xs8ziАй бұрын

    Can you give us an example for Map to be written in yaml? That would help as this ones looks tricky

  • @Muescha
    @Muescha4 ай бұрын

    Interesting. Why I don't need to add the key "url" for the website record?

  • @rbcm1
    @rbcm14 ай бұрын

    The @Autowire annotation in the tests is redundant/not necessary since some time, right?

  • @revetastogne
    @revetastogne4 ай бұрын

    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

    3 ай бұрын

    Intellij Idea Ultimate. The community edition doesnt have spring specific autocomplete

  • @freebusdoctor
    @freebusdoctor4 ай бұрын

    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

    4 ай бұрын

    Yes they are same

  • @konkos5473

    @konkos5473

    4 ай бұрын

    @@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

    4 ай бұрын

    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

    4 ай бұрын

    @@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
    @m3hdim3hdi3 ай бұрын

    what's the name of this intellij theme?

Келесі