How to Use Java Records With Quarkus

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024
  • In this video, I'll show how we can use Java Records in Quarkus applications. We'll see how to use records as JSON data transfer objects as well as embeddable database mappings and query result types.
    For the code and more information see: blog.sebastian...
    Quarkus Video Course: www.sebastian-...
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 12

  • @Robsonsantos-mv9dp
    @Robsonsantos-mv9dp ปีที่แล้ว +1

    Great video! I was looking for it! Thanks, Sebastian.

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

    It is very interesting about the use with Panache. Thanks you!!!

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

    Congratulations on this video, Sebastian.

  • @cvgaviao
    @cvgaviao 8 หลายเดือนก่อน

    Hey Sebastian, nice video, congrats.
    Could you produce one talking about Json Validation on Quarkus, mainly using Records in the REST methods ?

    • @SebastianDaschnerIT
      @SebastianDaschnerIT  7 หลายเดือนก่อน

      Thanks! :)
      Are there some issues or uncertainties with Bean Validation of Records? In the easiest case, one would just annotate the Record's fields with the BV annotation (like @NotNull), actually just like Java classes...no?

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

    Amazing video!

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

    Thank you

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

    any new linux and git tutorials coming ?

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

      What would you be interested in? :)

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

      ​@@SebastianDaschnerIT more tips in linux commands will be good sebastian and thanks for those awesome tutorials you really good

  • @malikoski
    @malikoski 6 หลายเดือนก่อน

    The class Car could be a Record ?

    • @SebastianDaschnerIT
      @SebastianDaschnerIT  6 หลายเดือนก่อน

      Technically maybe, yes. Depends on the understanding of your domain, since from a DDD perspective, your car would likely be an entity (identifiable, has a serial number, so you care "which" car you have), and then when you want to change/update properties, a class would make more sense. But yes, if you don't need that then yes