Spring Tips: go fast with Spring Boot 3.1

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 35

  • @sonamcloud
    @sonamcloud Год назад +8

    Love the springboot demo and seeing test containers and native image support.

    • @arnabchowdhury4892
      @arnabchowdhury4892 9 месяцев назад

      What is meaning of native image support?

    • @xucongzhan9151
      @xucongzhan9151 6 месяцев назад

      @@arnabchowdhury4892 I think he is referring to the "GraalVM Native Support"

  • @Vityoube
    @Vityoube 9 месяцев назад

    Also I think docker must be bundled in testcontainers because, as I understand, the intention of testcontainers is to use the containers in integration tests and not always CI/CD environments will have Docker available out of the box

  • @gabrield.2543
    @gabrield.2543 Год назад +1

    Condensed and nicely paced video. Thanks for sharing! looking forward to SB 3.1 ;-). Keep up the good work.

  • @Vityoube
    @Vityoube 9 месяцев назад

    Will dev mode restarts be still be fast in case of large applications (that have some some hundreds of entities, also some schedulers configured and bunch of external integrations)?

  • @DimitriCHARLES
    @DimitriCHARLES Год назад +1

    For the testcontainers part, why don't create a profile like for instance a dev profile and create the testcontainers configuration with this profile?

  • @tohirasadov689
    @tohirasadov689 Год назад +6

    Please make a project with spring security and JWT in spring boot 3.1.0

  • @alexandersmirnov4274
    @alexandersmirnov4274 Год назад

    docker-compose now support hot reload of changes

  • @tliouanthoussam558
    @tliouanthoussam558 Год назад

    which theme are you using in intellij please?

  • @ekeneuduike9674
    @ekeneuduike9674 Год назад +2

    springboot 3.1 not compatible with eureka discovery server any compatible alternative?

    • @JamesStansell
      @JamesStansell Год назад +2

      Not sure if it has what you need, but a compatible release of Spring cloud is planned for next week.

    • @ekeneuduike9674
      @ekeneuduike9674 Год назад

      @@JamesStansell okay thanks alot

  • @kumaranand_ka
    @kumaranand_ka Год назад

    Native image support is nice..🎉

  • @plogigamer
    @plogigamer Год назад

    Started DemoApplication in 3.71 seconds on MBP-M1 Pro, 15x slower than on movie :)

  • @ilkou
    @ilkou Год назад +1

    LOVE IT

  • @roberfuentesg
    @roberfuentesg Год назад

    This is just awesome

  • @Nothing_Else_Matters
    @Nothing_Else_Matters Год назад +2

    Hi.. im quiet new and i would like to know what the benefits of the constructor injections are. I could not find a good answer jet, why i should use it.

    • @williamlin8709
      @williamlin8709 Год назад +1

      Google is willing to support you.

    • @williamlin8709
      @williamlin8709 Год назад +1

      Don't be lazy!

    • @coffeesoftware
      @coffeesoftware Год назад +9

      hello, thanks for watching the episode. the main benefit is that its easier to see what the type requires to be in a valid state. also, you won't need Spring or any framework to test the component.

    • @SkipperChuck42
      @SkipperChuck42 Год назад

      @@coffeesoftware not to mention if you use Lombok and its RequiredArgsConstructor, you don't even need to declare the constructor manually, just make sure your injected items are declared final, and Lombok will do the right thing. Handy when you have more than a few details to inject. Never fun when the constructor requires more than 3 or 4 parameters (though in all honesty that's probably a code smell and reason to rethink the design of the class).

  • @michaelholopainen2822
    @michaelholopainen2822 Год назад +5

    WTF ? Authorization Server, didn't Spring just depricate their own OAuth2 server year or two ago in favor of sunign Keyclock ?

  • @TheJabberwahh
    @TheJabberwahh Год назад +1

    save keyboard please

  • @exkalybur_dev
    @exkalybur_dev Год назад

    🤯

  • @duartelucas8129
    @duartelucas8129 Год назад

    This guy is on steroids 😆

  • @alexfaster2096
    @alexfaster2096 Год назад +8

    I hope spring team understands that current dev mode is not attractive. Quarkus dev is a real dev mode. All those things with recompile looks like manual tedious process in the pure automated pipeline.

  • @yendys74
    @yendys74 Год назад

    noice

  • @CodewithDilip
    @CodewithDilip Год назад +2

    using record classes for entities is not a good practice.

    • @adambickford8720
      @adambickford8720 Год назад +2

      You find out what *does* work with hibernate, not what *doesn't*. In general, hibernate = "this is why we can't have nice things".

    • @fruitsalad1255
      @fruitsalad1255 Год назад

      Why not? Just for my info

    • @sandrodelacruz8125
      @sandrodelacruz8125 Год назад +1

      ​@@fruitsalad1255records are immutable.

    • @walterclementsjr.5947
      @walterclementsjr.5947 Год назад

      good for a quick demo, no? man didn't even use lombok lol.

    • @ЗлойКарлик-и1п
      @ЗлойКарлик-и1п Год назад

      I wonder how it works without entity annotation