Spring Tips: go fast with Spring Boot 3.1

Sdílet
Vložit
  • čas přidán 17. 05. 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
  • Věda a technologie

Komentáře • 35

  • @gabrield.2543
    @gabrield.2543 Před rokem +1

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

  • @sonamcloud
    @sonamcloud Před rokem +8

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

    • @arnabchowdhury4892
      @arnabchowdhury4892 Před 5 měsíci

      What is meaning of native image support?

    • @xucongzhan9151
      @xucongzhan9151 Před 3 měsíci

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

  • @roberfuentesg
    @roberfuentesg Před rokem

    This is just awesome

  • @ilkou
    @ilkou Před rokem +1

    LOVE IT

  • @tohirasadov689
    @tohirasadov689 Před rokem +6

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

  • @kumaranand_ka
    @kumaranand_ka Před rokem

    Native image support is nice..🎉

  • @Vityoube
    @Vityoube Před 5 měsíci

    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 Před rokem +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?

  • @alexandersmirnov4274
    @alexandersmirnov4274 Před rokem

    docker-compose now support hot reload of changes

  • @Vityoube
    @Vityoube Před 5 měsíci

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

  • @exkalybur_dev
    @exkalybur_dev Před rokem

    🤯

  • @tliouanthoussam558
    @tliouanthoussam558 Před 9 měsíci

    which theme are you using in intellij please?

  • @yendys74
    @yendys74 Před rokem

    noice

  • @plogigamer
    @plogigamer Před rokem

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

  • @ekeneuduike9674
    @ekeneuduike9674 Před rokem +2

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

    • @JamesStansell
      @JamesStansell Před rokem +2

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

    • @ekeneuduike9674
      @ekeneuduike9674 Před rokem

      @@JamesStansell okay thanks alot

  • @Nothing_Else_Matters
    @Nothing_Else_Matters Před rokem +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 Před rokem +1

      Google is willing to support you.

    • @williamlin8709
      @williamlin8709 Před rokem +1

      Don't be lazy!

    • @coffeesoftware
      @coffeesoftware Před rokem +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 Před rokem

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

  • @TheJabberwahh
    @TheJabberwahh Před rokem +1

    save keyboard please

  • @michaelholopainen2822
    @michaelholopainen2822 Před rokem +5

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

  • @duartelucas8129
    @duartelucas8129 Před 8 měsíci

    This guy is on steroids 😆

  • @alexfaster2096
    @alexfaster2096 Před rokem +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 Před rokem +2

    using record classes for entities is not a good practice.

    • @adambickford8720
      @adambickford8720 Před rokem +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 Před rokem

      Why not? Just for my info

    • @sandrodelacruz8125
      @sandrodelacruz8125 Před rokem +1

      ​@@fruitsalad1255records are immutable.

    • @walterclementsjr.5947
      @walterclementsjr.5947 Před rokem

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

    • @user-vo5uk2jv8d
      @user-vo5uk2jv8d Před rokem

      I wonder how it works without entity annotation