Spring Tips: go fast with Spring Boot 3.1

Поделиться
HTML-код
  • Опубликовано: 17 май 2023
  • Hi, Spring fans! In this installment, Josh Long (@coffeesoftware) looks at how the new Spring Boot 3.1 release delivers incredible efficiencies for both developers and machines.
    #Java #springboot #Microservices #Testcontainers #GraalVM #Docker #DockerCompose #Devtools #SSL
  • НаукаНаука

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

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

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

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

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

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

      What is meaning of native image support?

    • @xucongzhan9151
      @xucongzhan9151 Месяц назад

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

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

    This is just awesome

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

    LOVE IT

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

    Native image support is nice..🎉

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

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

    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

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

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

    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)?

  • @tliouanthoussam558
    @tliouanthoussam558 8 месяцев назад

    which theme are you using in intellij please?

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

    🤯

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

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

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

    noice

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

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

  • @duartelucas8129
    @duartelucas8129 7 месяцев назад

    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.

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

    • @user-vo5uk2jv8d
      @user-vo5uk2jv8d Год назад

      I wonder how it works without entity annotation