Spring Tips: go fast with Spring Boot 3.1

แชร์
ฝัง
  • เผยแพร่เมื่อ 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 5 หลายเดือนก่อน

      What is meaning of native image support?

    • @xucongzhan9151
      @xucongzhan9151 2 หลายเดือนก่อน

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

  • @roberfuentesg
    @roberfuentesg ปีที่แล้ว

    This is just awesome

  • @ilkou
    @ilkou ปีที่แล้ว +1

    LOVE IT

  • @tohirasadov689
    @tohirasadov689 ปีที่แล้ว +6

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

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

  • @kumaranand_ka
    @kumaranand_ka ปีที่แล้ว

    Native image support is nice..🎉

  • @alexandersmirnov4274
    @alexandersmirnov4274 ปีที่แล้ว

    docker-compose now support hot reload of changes

  • @tliouanthoussam558
    @tliouanthoussam558 9 หลายเดือนก่อน

    which theme are you using in intellij please?

  • @Vityoube
    @Vityoube 5 หลายเดือนก่อน

    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

  • @Vityoube
    @Vityoube 5 หลายเดือนก่อน

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

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

  • @plogigamer
    @plogigamer ปีที่แล้ว

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

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

  • @exkalybur_dev
    @exkalybur_dev ปีที่แล้ว

    🤯

  • @yendys74
    @yendys74 ปีที่แล้ว

    noice

  • @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 8 หลายเดือนก่อน

    This guy is on steroids 😆

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

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