Records In Java - Full Tutorial

Поделиться
HTML-код
  • Опубликовано: 1 июн 2024
  • Head to cutt.ly/spring_micro and use Coupon Code SUPER70 to get 70% off the course.
    Records are a new concept added to the Java language as a preview feature in Java 14, and in a full release in Java 16. In this intermediate Java programming tutorial, we will talk all about when you would want to use Java records, and exactly how to do it.
    If you're confused by records in Java, you're in the right place!
    🎟 Join this channel to get access to perks:
    / @dailycodebuffer
    RECOMMENDED COURSES
    🎬 Spring Boot + React Full Stack Web Application with Tailwind CSS - • Spring Boot + React Fu...
    🎬 Spring Security Full Course | From Registration to Login - • Spring Security Tutori...
    🎬 Microservices using SpringBoot | Full Example - • Microservices using Sp...
    🎬 Event-Driven Microservices with CQRS Design Pattern - • Implement CQRS Design ...
    🎬 Implement SAGA Design Pattern using Spring boot and Axon Framework - • Implement SAGA Design ...
    🎬 Spring Data JPA Tutorial | Full In-depth Course - • Spring Data JPA Tutori...
    🎬 Deploy Springboot Microservices to Kubernetes Cluster - • Deploy Springboot Micr...
    🎬 Automate Microservices deployment with Github Actions - • GitHub Actions Tutoria...
    🎬 Go / Golang Full Course for Beginners - • Golang Tutorial for Be...
    🎬 Node JS Full Course for Beginners: Learn in 2 Hours - • Node JS Full Course fo...
    🎬 Express.js Tutorial - Beginner | 2021 - • Express.js Tutorial - ...
    🎬 Redis CLI Tutorial | Complete Course - • Redis CLI Tutorial | C...
    BE MY FRIEND:
    👨‍💻. Website: www.dailycodebuffer.com/
    👨‍🏫 Facebook: / dailycodebuffer
    🐦 Twitter: / dailycodebuffer
    📸 Instagram: / dailycodebuffer
    🎮 GitHub: github.com/dailycodebuffer
    MY FAVOURITE GEAR:
    👨‍💻 My Macbook Air M1: amzn.to/3eFXlID
    💻 ASUS ROG Zephyrus G14, 14": amzn.to/32xsXhf
    💻 ASUS ROG Zephyrus G14, 14" (US): amzn.to/3xa6X6m
    🎤 My Main Mic: amzn.to/3qDl0z0
    🎤 My Main Mic (US): amzn.to/3awzUj7
    🎙 My Secondary Mic: amzn.to/3sOZCJW
    🖥 My LG Monitor: amzn.to/3zhLY3e
    🖱 My Mouse: amzn.to/3eDpRKT
    ⌨️ My Keyboard: amzn.to/32xthMZ
    RECOMMENDED BOOKS:
    📙 Mastering Spring Boot 2.0 (Kindle): amzn.to/3HsOiHu
    📙 Mastering Spring Boot 2.0 (US): amzn.to/3tHNUy5
    📙 Building Microservices(Kindle): amzn.to/3gsA1jL
    📙 Building Microservices(US): amzn.to/3dDnfNn
    📙 Spring Boot in Action: amzn.to/32Nf3qW
    📙 Spring Boot in Action (US): amzn.to/32DkeX9
    📙 Spring Microservices in Action: amzn.to/3mQ4sCH
    📙 Spring Microservices in Action(US): amzn.to/32G3Hl7
    🎻 MUSIC:
    🎵 Hear the Noise (Sting): ruclips.net/user/audiolibrary...
    “Sound effects obtained from www.zapsplat.com“
    #Record #java17 #softwaredesign #java #DailyCodeBuffer
  • НаукаНаука

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

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

    Head to cutt.ly/spring_micro and use Coupon Code SUPER70 to get 70% off the course.

  • @commenter9451
    @commenter9451 8 дней назад

    Learnt new thing again. Thankyou.

  • @truth-7380
    @truth-7380 7 месяцев назад +1

    Correction:
    Final Variables does not imply that the object is immutable.
    If the variable is of complex type like Address then returning the address property will allow the caller to change the property.
    If all Properties in the record are themselves records, then your implication is correct.

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

    nice to know a 'Record'. I am sure we can use in multiple scenarios. If we want to populate a select field or grid with sorting ( inside a collection)

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

    Thanks for Sharing.
    Please upload more such videos with latest features in java to increase productivity.
    Also, could you please create separate playlist for daily coding in java covering all dsa and algo.

  • @-Corvo_Attano
    @-Corvo_Attano Год назад

    Thanks for your explanation :)

  • @subhamraoniar2823
    @subhamraoniar2823 11 месяцев назад +1

    Nice video 👍. Can you please create a full length video on Keycloak with Open id and spring boot role based authentication with rest apis ?

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

    Which one prefer for you lombok or record

  • @sadeghi4j
    @sadeghi4j 10 дней назад

    what is the name of the theme you are using for your IDE (and also icon pack)?

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

    Great bro
    Can you please upload a video to upload multiple file in spring boot

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

    can you cover 10-19 most imp features

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

    thank you, I don't remember and can't use the commands in the new versions of Java very well. lol

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

    Thank you for sharing..

  • @Mohamed-uf5jh
    @Mohamed-uf5jh Год назад

    Great ! Thanks

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

    Thanks bro 🔥🔥

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

    Lombok does the same right

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

    Can we use Spring Validation API "Annotations" like @NotNull together with Records?

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

    It's the same as the data class from kotlin 🚀

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

    Where to learn Java from

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

    Helpful. Thanks.
    What is the advantages of record over Lombok library ?
    I use record and I enjoy using it.
    Have to use @Builder Lombok annotation to get build pattern object creation.
    Is there any way to achieve this without @Builder annotation?
    Some of my Colleagues saying they prefer Pojo class with Lombok.

    • @shuvampargal4754
      @shuvampargal4754 Год назад +3

      They both serve the same purpose to reduce the boiler plate code. simple difference is
      Lombok requires an external library, while records are built-in to the Java language

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

    what plugin you used for icons, and which fonts?

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

    The names and email was funny . Kutub ?

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

    what about seal class

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

    In which java version Records are available

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

    It's same as dataclasees in python

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

    Is it available in Java 8?

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

    lombok does something or is it not so?

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

      lombock does only to shorten the code

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

    It’s nothing but coping from kotlin.. we already have all these in kotlin

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

    Bro please can you check your Twitter DM

  • @shaikh.quadeer
    @shaikh.quadeer Год назад +1

    kabhi git ku bhi yad kar liya karo🤣