What is Java Project Lombok? || GoodBye Boilerplate Code

Поделиться
HTML-код
  • Опубликовано: 5 ноя 2024

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

  • @gangstaabhia
    @gangstaabhia 3 года назад +4

    Thank you, You are the best!!! Can we use this in POM when we are designing our framework.

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

    Thank you Naveen, Lombok is just like a magic to cleanup the boilerplate code

  • @blablagswjsvsns134
    @blablagswjsvsns134 3 года назад +3

    Thanks a lot Sir, This was really required when we work with POJO classes of RestAssured. :) .

  • @SarangHoley
    @SarangHoley 3 года назад +3

    Thanks Naveen for taking up this cool stuff, Although I know this already, but after your explanation it is more clear now 👍😊

  • @Pratstorm
    @Pratstorm 3 года назад

    I'm having this lambok implemented in my project and now I got to know purpose of it. Thanks buddy!

  • @MrGpkumar
    @MrGpkumar 3 года назад +1

    Thanks Naveen , I used it one of the project as a beginner .now most of the concepts got cleared

  • @sanghamitrabhowmicklive3013
    @sanghamitrabhowmicklive3013 3 года назад +2

    This was amazing..12mins of complete knowledge 👌

  • @mohitchawla3746
    @mohitchawla3746 28 дней назад

    Awesome

  • @satyapavankodavatiganti9005
    @satyapavankodavatiganti9005 3 года назад

    Thank you Naveen, but could you please tell me how can this be utilized while working on creating a framework?

  • @sharathkumar5791
    @sharathkumar5791 3 года назад

    Nice. I use this regularly along with Jackson library for serialisation and de serialisation. Deserialisation is bit of pain with Lombok data classes. But they have a beta annotation for it now. Overall a good library to reduce boiler plate code. Nice one Naveen. 🎉

  • @ABIDKHAN-xs3pc
    @ABIDKHAN-xs3pc 3 года назад +1

    This is really cool. Thanks Naveen!

  • @YoutubeWaleChicha
    @YoutubeWaleChicha 3 года назад

    Thank you for this awesome piece.
    Few doubts.
    1) Will there be any issue once we compile & execute Lombok enabled code in servers without having Lombok plugin there?
    2) Uses other than getter & setters.
    Thanks.

  • @amitkumarsantra9837
    @amitkumarsantra9837 3 года назад

    Clean Explanation, I will definitely use this. Thanks Naveen :)

  • @vijaymamoria
    @vijaymamoria 3 года назад +1

    How to put breakpoint for the setters?
    We will have to put breakpoint on the variable name and in that case even the getters will trigger breakpoints.

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

    Thank you so much sir for your effort, could you please share a github link for this session

  • @nirmalchakraborty8608
    @nirmalchakraborty8608 3 года назад

    Thanks alot Naveen for creating this video,could you pls make one video how we can implement the same in our automation project

  • @sagars3332
    @sagars3332 3 года назад

    How this developer guys are doing magic ??what is their thought process..we really need to learn this before learning programming or coding.

  • @rajakondi8027
    @rajakondi8027 3 года назад

    Thank you so much Naveen sir

  • @ayyappareddy4461
    @ayyappareddy4461 2 года назад

    thank you sir...well explained..

  • @Gully_Cricket_From_Karthick
    @Gully_Cricket_From_Karthick 3 года назад

    Brilliant 👍

  • @manojk1296
    @manojk1296 3 года назад +2

    Thanks Naveen , this is really useful, could you please provide some details about @builder and @builder.default with pojo class for data build in further sessiona

  • @GurudattaPraharaj
    @GurudattaPraharaj 3 года назад

    Nice bro, very useful. Thanks 👍👍👍

  • @mahendranchandrasekar6599
    @mahendranchandrasekar6599 3 года назад

    Great work naveen

  • @kunal221993
    @kunal221993 3 года назад +1

    Hi Naveen, thanks for such informative videos. Could you please create videos on Code review tools such as SonarLint or SonarQube etc or code review practices which are becoming necessary now a days in automation projects.

    • @naveenautomationlabs
      @naveenautomationlabs  3 года назад +1

      Check this video: ruclips.net/video/u5HMAu7Ocuk/видео.html

    • @hiteshdarji9925
      @hiteshdarji9925 11 месяцев назад

      @@naveenautomationlabs Wah aapki teaching se muje java se pyar ho gaya he.

  • @bharatvarshney5332
    @bharatvarshney5332 3 года назад

    Can we use in serialization and deserialization

  • @hiteshdarji9925
    @hiteshdarji9925 11 месяцев назад

    Thanks but while run Java command shows could not find or not load main class error showing. Can you please help.

  • @AbhishekTakate
    @AbhishekTakate 2 года назад

    Thank you

  • @baan1221
    @baan1221 3 года назад

    Thanks a lot Naveen

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

    Thanks! 👍

  • @Unstoppableankit
    @Unstoppableankit 3 года назад +1

    What if i have to put some validation logic in constructor or setters method?
    Is there any workaround for that?

    • @GokulMechDazzler
      @GokulMechDazzler 3 года назад

      Yes even I have the same question..
      In normal getter and setter method we will have validations.. but this lambok is simply setting and getting.. 🙄🙄

    • @naveenautomationlabs
      @naveenautomationlabs  3 года назад

      Which validation? Getter and setter are not used for business logic and validation. Validation should be done by test client not by get and set methods.

    • @Unstoppableankit
      @Unstoppableankit 3 года назад

      @@naveenautomationlabs
      I have read and seen basic validation being performed in the setter method. That's one of the purpose of encapsulation.
      Also,
      Take a look at this article
      dzone.com/articles/java-getter-and-setter-basics-common-mistakes-and

    • @naveenautomationlabs
      @naveenautomationlabs  3 года назад +1

      Its not a good practice. If you see for test automation point of view, or unit test purpose. Assertion/validations should be part of test client. And buss validations should be written in a function, not by getter and setter. But ya you can validate ur data is valid or not like it's within range or shouldn't be null and then set the values. Which is not covered by Lombok. In this case u have to create ur own custom getter and setter.

    • @Unstoppableankit
      @Unstoppableankit 3 года назад

      @@naveenautomationlabs
      Yeah.. Got it.. But lombok helps for sure.

  • @phanikumars
    @phanikumars 3 года назад

    Thank you naveen... Ur awesome.....

  • @prasadsawant7
    @prasadsawant7 3 года назад +2

    Me be like: Kitni awesome API hai yaar 😀.
    😂

  • @shrabanipanda7432
    @shrabanipanda7432 3 года назад

    Hi Naveen I have some questions related to my job change can we connect please

  • @girishbhamare2696
    @girishbhamare2696 3 года назад

    Thanks Naveen

  • @rahul5481
    @rahul5481 3 года назад

    Thanks Naveen....will this code work on Jenkins as well since we are installing plugin manually...

  • @loga12345
    @loga12345 3 года назад

    Great Naveen!

  • @AmitSingh-tk1il
    @AmitSingh-tk1il 3 года назад

    Waooo

  • @ahamed.ibrahim
    @ahamed.ibrahim 3 года назад

    What about record class java 16

  • @PhaniRamaSarmaD
    @PhaniRamaSarmaD 3 года назад +2

    @Data annotation😂😂
    Java code in the future will be very readable 🙏

  • @vikasswami1804
    @vikasswami1804 3 года назад

    To String method did not work in the video.... it shud display the complete object state

    • @Unstoppableankit
      @Unstoppableankit 3 года назад

      He never used the to string method.

    • @naveenautomationlabs
      @naveenautomationlabs  3 года назад +1

      It was a wrong import for tostring method thats what I mentioned in video.

    • @vikasswami1804
      @vikasswami1804 3 года назад

      @@naveenautomationlabs sure, appreciate your response. You are Guru :)

  • @Ash-ku2rz
    @Ash-ku2rz 3 года назад

    Can I say Lombok is like "React-lib" of Java in disguise... LOL!

  • @soumyaawati3655
    @soumyaawati3655 3 года назад

    hi sir i am soumya and i completed Msc in computer science(2014). i started career in teaching for primary student ..... but now I am planning shift to automation testing i.e java with selenium.... plz can u guide

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

    I am facing this issue while trying out same thing
    Lombok annotation handler class lombok.eclipse.handlers.HandleData failed - See error log.
    The annotation @Data is disallowed for this location