Spring Boot Best Practices For Developers 👨‍💻 | Productivity | JavaTechie

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 พ.ย. 2024

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

  • @paulsnehasish5830
    @paulsnehasish5830 10 หลายเดือนก่อน +9

    as a working professional for 2 years in fullstack java, I can confirm this video is a gem

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

      I want to become a Java Full stack developer..... please can you share me your experience and give me suggestions and guidance

  • @harshverm776
    @harshverm776 ปีที่แล้ว +8

    I think this might be the best video on YT. You have provided all the best practices 60% which I have learn in my 2 years of career and 40% I have learned new things.
    This is the great thing that our Brother is providing such a awesome content for free of cost.

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

      Thanks Harsh 🥰. Keep learning 👍

  • @kalaiselvankesavel2971
    @kalaiselvankesavel2971 2 ปีที่แล้ว +25

    JavaTechie you are such a brilliant guy to provide crisp information . Very grateful to you . This video made my weekend. BIG THANK YOU!!!!

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

      Thanks buddy 😍

  • @lts8683
    @lts8683 2 ปีที่แล้ว +21

    Great video. Thanks.
    I want just to add others best practices:
    1- Create application.yml for each environment
    Ex: application-dev.yml - application-staging.yml ...
    2- using library to map DTO like MapStruct...
    3- using soft delete
    4- using environment variables to avoid hard-coding

    • @Javatechie
      @Javatechie  2 ปีที่แล้ว +2

      Yes I agreed and missed it .

    • @helloworld101
      @helloworld101 10 หลายเดือนก่อน

      Can you explain #2?

    • @mateuslevi1300
      @mateuslevi1300 10 หลายเดือนก่อน

      ⁠@@helloworld101 MapStruct simplifies the mapping process in Java by generating the mapping code based on defined interfaces. Ex: convert a DTO into an entity…

  • @lakshmi8347
    @lakshmi8347 หลายเดือนก่อน +1

    This video is very helpful not just for beginners but also for people who want to revise clean code practices for interview !!!
    Thanks a lot for such knowledgeable content that too for free of cost !!

  • @divyamahesh9032
    @divyamahesh9032 5 หลายเดือนก่อน +1

    I cannot step out of video with out commenting. It's such a great content for any developer whether a fresher or experienced🎉🎉🎉
    With this video you have shown an end to end project with great standards.

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

      Thank you for appreciate the work
      Keep learning

  • @Arsy1999
    @Arsy1999 2 ปีที่แล้ว +8

    This is such high-quality and extremely useful information!
    Thank you so much for sharing this, really appreciate it!

  • @AleksandarT10
    @AleksandarT10 2 ปีที่แล้ว +10

    Great video. Helpful for everyone to watch! We definitely need more of these

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

    Several points here I had to discover by myself and learn how to practise them.
    This is a nice video that showcases them (and many more) systematically and in one place.
    Thumbs up!

  • @srinivasamovva2735
    @srinivasamovva2735 ปีที่แล้ว +3

    No Words To Praise you..Be healthy ever my dear

    • @rowland138
      @rowland138 3 หลายเดือนก่อน

      Thnkx

  • @udit9337
    @udit9337 ปีที่แล้ว +2

    Really help full video to optimise the existing code following proper standards great job

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

    Thanks so much Java Techie. You are just a blessing to most of us. Keep giving us helpful tutorials.

  • @shyamlalsivasankarannair8280
    @shyamlalsivasankarannair8280 2 ปีที่แล้ว +4

    Great Tutorial ! All the basics of spring boot API development covered. Really helpful for Beginners.

  • @anjanx44
    @anjanx44 ปีที่แล้ว +2

    Big fan. Thanks a lot man. You save my job.

  • @attrayadas8067
    @attrayadas8067 11 หลายเดือนก่อน +2

    Thanks for putting it all together. Really appreciate your effort :)

  • @raunaqsingh6628
    @raunaqsingh6628 9 หลายเดือนก่อน +2

    Amazing practices! 🙌🏻 well explained

  • @vijaysonawane3776
    @vijaysonawane3776 7 หลายเดือนก่อน +1

    This video and code in project is next level, it is exactly same as industry standards students are lucky those who are learning from you.
    If you have any paid prime course will definitely buy to upskill

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

      Thanks Vijay for appreciating the efforts. Yes i have a few paid courses available devops for developers live class is going on and spring boot microservice recorded video of live class available. You can drop an email to javatechie4u@gmail.com to know more about courses

  • @deviprasadhota2617
    @deviprasadhota2617 ปีที่แล้ว +3

    Awesome...plz make a video on roadmap to learn springboot and microservices.

  • @Nikhil-Kumar-Ahlawat
    @Nikhil-Kumar-Ahlawat 2 ปีที่แล้ว +4

    you are a gem ...keep making video like this , more power to you :)

  • @lavesh501
    @lavesh501 ปีที่แล้ว +2

    Useful lesson for beginners
    Thanks You so much for sharing your knowledge

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

    got to learn a lot of new things. You explain things very precisely and in a simple way. it feels like my elder brother is talking and explaining it to me. Thank you basant bhai. please never stop making videos. :D

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

      Thank you Gaurav ☺️. So happy that it helps you

  • @fullfun1234
    @fullfun1234 ปีที่แล้ว +2

    Java Techie, you doing amazing work.

  • @johnvick8861
    @johnvick8861 ปีที่แล้ว +2

    great sir bhala advice eita.

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

    Thanks so much for this. Prepping for my technical interview. :)

  • @kokalasoujanya2315
    @kokalasoujanya2315 7 หลายเดือนก่อน +1

    Great tutorial. Thank you so much Java Techie

  • @umamaheswarreddy9204
    @umamaheswarreddy9204 2 ปีที่แล้ว +2

    another great video . Thank you Basanth👌

  • @ramanag5680
    @ramanag5680 2 ปีที่แล้ว +2

    Thank you so much Basanth

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

    Wonderful information brother thank you for your efforts 💯💯❤

  • @pandiyarajramu749
    @pandiyarajramu749 2 ปีที่แล้ว +2

    Very nice.. superb explanation. Thank you

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

    Excellent video. Covers all the essentials things

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

    great help for tech buddies

  • @JyotiKumari-jd9mf
    @JyotiKumari-jd9mf 2 ปีที่แล้ว +1

    It's too good and informative. Thank you team.

  • @yatendra__singh
    @yatendra__singh 2 ปีที่แล้ว +2

    Wonderful information thanks for helping ❤️

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

    One importaint thing for Lombok is to generate these all things into bytecode after compilation😉😉...

  • @anandsingh-pw6mm
    @anandsingh-pw6mm 2 ปีที่แล้ว +1

    I see the struggle with yaml, well feature like such you will highly enjoy in Idea ultimate edition, I have switched from community to ultimate last quarter May'22 and so far didn't regret it.

    • @Javatechie
      @Javatechie  2 ปีที่แล้ว

      Yeah it's awesome but chargeable

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

    This TH-cam channel is great ❤❤

  • @bvinodmca
    @bvinodmca 9 หลายเดือนก่อน +1

    very nice video, superb, much helpful

  • @ainigma100
    @ainigma100 2 ปีที่แล้ว +2

    Thank you for the great video!!!

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

    Greate video sir, thank you very much for detailed explanation... 🙏

  • @Bloome_BlueFolf
    @Bloome_BlueFolf 2 ปีที่แล้ว +2

    Very much very helpful stuff!

  • @erichhc9698
    @erichhc9698 2 ปีที่แล้ว

    Excelente video JavaTechie , Greetings from Peru 👌

  • @medAmineRg
    @medAmineRg 8 หลายเดือนก่อน +1

    great stuff thankyou !

  • @joeLinton-w1p
    @joeLinton-w1p 9 หลายเดือนก่อน +1

    absolutely awesome

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

    God bless you!

  • @NeerajShukla-t8n
    @NeerajShukla-t8n 8 หลายเดือนก่อน +1

    Thanks 🎉

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

    Thank you so much❤❤

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

    good day congratulate you for the content of the videos a question in the rest services is better to send the code or error messages. Additional that way should have a class that controls the errors for each dto beforehand thanks and success in your life both personal and professional.

  • @Aj-ld4ds
    @Aj-ld4ds 2 ปีที่แล้ว +1

    Thanks for the Video bro :)

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

    Really a good one! Thanks

  • @thesilentkiller3882
    @thesilentkiller3882 2 ปีที่แล้ว

    Please make a video on how to import config file from spring cloud/ external sources without exposing the config in project

  • @حامدنیکبخت-ن5ع
    @حامدنیکبخت-ن5ع 2 ปีที่แล้ว +1

    how to create custom response like this

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

    Loved it ❤️

  • @Ace-yt7eo
    @Ace-yt7eo ปีที่แล้ว

    Really loved the content ❤️

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

    super video...its helpful

  • @RaviVerma-bg6ul
    @RaviVerma-bg6ul 2 ปีที่แล้ว +2

    Hi sir, Checkmarx and vulnerability pe ek video ban do sir, how to fix .

  • @PappuKumar-ho3ek
    @PappuKumar-ho3ek 2 ปีที่แล้ว +1

    Thanks again....

  • @Vithal_Nivargi
    @Vithal_Nivargi 2 ปีที่แล้ว

    Thank you this is what I wanted to know

  • @esmelealemmihretu941
    @esmelealemmihretu941 2 ปีที่แล้ว +3

    Thank you very much, really appreciated! Can you add dev and production part for caching, auditing, fetching modes too?

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

    Great Video Sir very helpful and mandatory for developers

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

      Good evening sir, is it a good practice to have multiple dto's in the spring boot project

    • @Javatechie
      @Javatechie  2 ปีที่แล้ว

      Yes 👍

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

      @@Javatechie Good morning sir, one more question how can we export data from one table to another without mapping the tables using spring boot hibernate?

    • @Javatechie
      @Javatechie  2 ปีที่แล้ว

      Use spring batch if not simply you can write one shell script to do that

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

    Helpful video

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

    You are great

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

    Why should we maintain the status in response instead of direct results we must get the status response code with that in frontend we can validate it I think we are adding one more step 🪜 to that I think it's not required for failures and success

    • @Javatechie
      @Javatechie  2 ปีที่แล้ว

      No it's required sometimes you will get status 200 but in code there will be NPE which you already handled or bypass

  • @VELPULASIVAKRISHNA
    @VELPULASIVAKRISHNA 4 หลายเดือนก่อน

    Thanks a lot

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

    one small suggestion, it would have better if u could structure the packages based on product features rather application layers

    • @bmiguelmf
      @bmiguelmf 2 หลายเดือนก่อน +1

      I completely agree. I hate having my controllers, DTOs, and services all jumbled together-it just becomes a mess. I usually create global packages for things that should be shared globally, like bean configurations. What I typically do is create a package named "stories," and inside that, I’ll have a separate package for each story. Within each story package, I include the controller, service, validation, etc.
      Also, when something isn't found, the correct HTTP status code should be 404, not 200.

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

    Thanks

  • @attrayadas8067
    @attrayadas8067 11 หลายเดือนก่อน

    Sir, do you have any plan of making a video on Spring Integration Java DSL? I want to learn it, any guidance will help a lot

  • @vindiesel-tn5xm
    @vindiesel-tn5xm ปีที่แล้ว +1

    U r my hero❤

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

      Thank you Akash 🤠

    • @vindiesel-tn5xm
      @vindiesel-tn5xm ปีที่แล้ว +1

      ​Since I have been watching ur vdos...i m getting confident and comfortable in Java...

  • @bulbul-dev
    @bulbul-dev 2 ปีที่แล้ว +2

    In controlloler inside
    ResponseEntity
    Generic types shouldn’t be used raw (without type parameters) in variable declarations or return values. Doing so bypasses generic type checking, and defers the catch of unsafe code to runtime.
    Solnarlint warnings. how to resolve it?

    • @Javatechie
      @Javatechie  2 ปีที่แล้ว

      Hover your mouse sonarlint will give hints. Let me know if you are not able to resolve

  • @VELPULASIVAKRISHNA
    @VELPULASIVAKRISHNA 4 หลายเดือนก่อน

    if our project contains multiple services .is it neccessary to take the multiple exception handler class,and multiple exception Custom Exception..is there any alternate for that?

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

    Thanks for the video. Can you please create detailed series on maven builds, designing multi project structure using maven and its plugins??

  • @nageshpatel889
    @nageshpatel889 2 ปีที่แล้ว

    Very helpful video.Could you please make a video on React production ready app with webpack configuration on dev and prod env..

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

    Is it possible to use Internationalization in bean validation?
    Need your advice

    • @Javatechie
      @Javatechie  2 ปีที่แล้ว

      Not in bean validation but api level you can

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

    Useful content has provided by great teacher!!!👍
    I have a small doubt with regards to caching. After added the caching mechanism in application, the first request will reach to DB for fetching the details and store it in cache for serving the further requests. Whether the Spring would reach DB to fetch all the records if any new record inserted in DB in between?

    • @Javatechie
      @Javatechie  2 ปีที่แล้ว

      No it will fire one single select query for new records

  • @Thomastinio666
    @Thomastinio666 2 ปีที่แล้ว

    What I need to change If I use gradle instead of maven to apply this practices ? except for pom xml

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

    sir can u please provide resource for Spring Security and JWT Exception Handling.

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

      Have you checked my jwt latest video I believe i covered there

  • @Prakash-gz6py
    @Prakash-gz6py ปีที่แล้ว +1

    Hi, how is ur experience with mac as developer? Want to know diff with win. 🙏

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

      Yes it's simply cool 😎. Mac OS is really good for programming

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

    Thanks❤🌹🙏

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

    I like the error handling, but not the status code 200 for ProductNotFoundException. It should be 404.

    • @Javatechie
      @Javatechie  2 ปีที่แล้ว

      Yes agree status should be 400 not 404

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

    Where can I grab the exceptional handling tutorial pin to pin explanation😊

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

      Please check this video buddy 😊 th-cam.com/video/gPnd-hzM_6A/w-d-xo.html

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

    200 Thanks

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

    Sir what is the usage of Compatablefuture in java 8😊

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

      Could you please check my completablefeature video

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

      Ok sir thank you for quick response

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

    Sir you used PhysicalNaming strategy in your yml file but why your instance variables not showing in order in database why sir please tell me any one of the solution because I want to store in order how

  • @IMRANANSARI-dq6rh
    @IMRANANSARI-dq6rh 8 หลายเดือนก่อน

    Hi Everyone,
    Please help me where I can find this PRODUCT-SERVICE project from the playlist.

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

    257th...Thanks... Great, Great video..Cheers

  • @RaghuD-ch9bf
    @RaghuD-ch9bf ปีที่แล้ว

    Sir, can you share the points you were going through.

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

    We can also use java record instead of lombok

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

      No record doesn't support Lombok and also it doesn't provide all what Lombok supports

  • @QuanLe-jh4lr
    @QuanLe-jh4lr 2 ปีที่แล้ว +1

    Why you don't using interface in your code ?

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

    Hello sir,
    Is there a best way to convert resttemplate response to users required dto response, rather than using Jsonnode and calling particular object.
    For ex: in resttemplate
    Users:[
    {
    Firstname:"java",
    Lastname:"techie"
    }]
    I want
    {
    Firstname:"java",
    Lastname:"techie"
    }

    • @Javatechie
      @Javatechie  2 ปีที่แล้ว +2

      Yes simply you can use like below
      User user =RestTemplate.getForObject(URL, User.class)

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

    wow

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

    51:55 LINE 39 WHAT DOES THIS SYMBOL MEANS?

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

      What do you have an idea on generic in java ?

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

    I have a small doubt what is the difference between testing APIS in post man and writing Junit test cases?
    both approaches motive is to check whether we are getting correct output or not

    • @Javatechie
      @Javatechie  2 ปีที่แล้ว +5

      In production environment you can't test your post and put API from post man right?

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

      @@Javatechie ok..Thanks for clarifying

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

    Can you have a better discount for your microservices course? Also why it says it is only available for 356 days, does that mean that after that I have no access to the course?

    • @Javatechie
      @Javatechie  2 ปีที่แล้ว

      Hi sheko , please drop an email to javatechie4u@gmail.com

    • @kasasrinivas5765
      @kasasrinivas5765 2 ปีที่แล้ว

      @@Javatechie I am also student. Can you please provide us with less price..

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

    Guy , how to throw hibernate error message to client call ?

    • @Javatechie
      @Javatechie  2 ปีที่แล้ว

      Wrap it in service with custom exceptions and then throw it from catch block

  • @014anirban
    @014anirban 2 ปีที่แล้ว +1

    db connection is failing for me. any help

    • @Javatechie
      @Javatechie  2 ปีที่แล้ว

      You need to encrypt your db password and use it .

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

    Bro timestamps?

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

    Why yml instead of properties

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

    man... there are so many voice-over text already... I am begging you to start using it

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

      Not getting you buddy. Are you facing issues?

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

      @@Javatechie, excellent content, but I need help understanding what you are talking. In addition, your videos will start looking more professional.

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

    Why to use "builder" ?

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

      No click on that ~ it will show you type generic

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

    Can anyone tell me what springboot developer do on a daily basis in a real time industry project?

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

    Can you please provide us source code of this example. Please try to post source code here..

    • @Javatechie
      @Javatechie  2 ปีที่แล้ว

      Link mentioned in video description buddy 😊