4 Spring Boot Mistakes to AVOID in 2024

Поділитися
Вставка
  • Опубліковано 28 тра 2024
  • Join this channel to get access to exclusive courses all taught by Koushik:
    / @java.brains
    🚀 *Unlock the Secrets to Mastering Spring Boot: Avoid Common Mistakes!*
    #spring #springframework #microservices #javabrains #springboot
    Diving into Spring Boot can be both exciting and daunting. With its vast ecosystem and powerful features, it's easy to stumble along the way. But fear not! Our latest video is your roadmap through the twists and turns of Spring Boot development. We're tackling the common pitfalls every developer should be aware of - and how you can navigate around them to build robust, efficient, and maintainable applications.
    Whether you're just starting out or looking to polish your skills, this video is packed with insights, best practices, and actionable advice to elevate your Spring Boot game. Say goodbye to frustration and hello to mastery!
    🔍 *What You'll Learn:*
    - Understand the common mistakes developers make in Spring Boot projects.
    - Discover practical tips and strategies to avoid these pitfalls.
    - Enhance your coding practices with best practices and expert advice.
    👨‍💻 *Who Should Watch:*
    - Beginner and intermediate Spring Boot developers seeking to improve their skills.
    - Java developers exploring Spring Boot for the first time.
    - Anyone interested in creating more efficient, error-free Spring Boot applications.
    💬 *Join the Conversation:*
    Got a question or want to share your own Spring Boot experiences? Drop a comment below!
    👍 *Like and Subscribe:*
    Enjoyed the video? Make sure to hit the like button and subscribe to our channel for more content like this. Don't forget to hit the bell icon to get notified about our latest uploads!

КОМЕНТАРІ • 75

  • @uhuebner
    @uhuebner 3 місяці тому +36

    since Koushik seemed to have "forgotten" the chapter markers...
    0:53 Overusing Annotations
    3:38 Inefficient Management of Application Properties
    07:00 Inadequate Exception Handling
    10:37 Neglecting Logging Best Practices

  • @ratnadeepsaha7675
    @ratnadeepsaha7675 3 місяці тому +61

    Spring boot helped me to switch from 3.8 lpa to 23 lpa job. I love this framework.

    • @ChadSigma111
      @ChadSigma111 3 місяці тому +1

      Congrats man. Any resources apart from this channel for a developer with 2 YOE?

    • @machchar_qing
      @machchar_qing 3 місяці тому

      same question 🤔

    • @SB-pp6in
      @SB-pp6in 3 місяці тому +2

      Can u tell what did u learned and do?

    • @maddymadhu
      @maddymadhu 3 місяці тому

      Can you elaborate the path you took

    • @unknown-yf9fz
      @unknown-yf9fz 3 місяці тому

      Please tell us what you learned exactly and from where you learned. It would be helpful for all

  • @krasser650
    @krasser650 3 місяці тому +13

    Complex things in simple words are priceless!

  • @nitinmulay6832
    @nitinmulay6832 3 місяці тому +3

    Thanks Kaushik .. since 8 years am following your useful contents for java 🙏

  • @pmorah
    @pmorah 22 дні тому

    Love your videos. Thanks a lot for sharing.

  • @vinaykumardiona
    @vinaykumardiona 3 місяці тому

    Great video 👏🏻👏🏻 Thank you Koushik sir

  • @anandoza7443
    @anandoza7443 3 місяці тому

    Valuable info. Thanks.

  • @rajkumarvb5197
    @rajkumarvb5197 3 місяці тому +16

    Great piece of information for Junior Developers like me! Thanks Koushik.😊

    • @Java.Brains
      @Java.Brains  3 місяці тому +1

      Glad you liked it

    • @AjayKumar-fd9mv
      @AjayKumar-fd9mv 3 місяці тому

      Could you please explain how you achieved and your path,application to openings etc

  • @kchemutai3483
    @kchemutai3483 3 місяці тому

    Very Informative.. Thank you

  • @as_wani
    @as_wani 3 місяці тому

    Very informative, learned a lot from you, Thanks again

  • @debkr
    @debkr 3 місяці тому

    Nice. Your videos have improved a lot 👍

  • @nitinpandey2627
    @nitinpandey2627 3 місяці тому

    Yet another good one Koushik. Keep it up.
    I don't have any spring boot related mistakes to report yet.. Still learning to make some good mistakes 😉

  • @prakashbhattarai947
    @prakashbhattarai947 3 місяці тому

    So much information in such a short video. Loved ❤

  • @Manuel-oe4gv
    @Manuel-oe4gv 3 місяці тому

    Good take on Global Exception Handler

  • @divakarsaragadam8420
    @divakarsaragadam8420 3 місяці тому

    Thaks for sharing your knowledge for free of cost I will simplify the writing code

  • @supun_sandaruwan
    @supun_sandaruwan 3 місяці тому

    Great Content Thank you 😍

  • @gautamsnegi27
    @gautamsnegi27 12 днів тому

    Constructor injection not just helped in removing @Autowired but also gave the ability to make the repo variable final.

  • @nagzeal
    @nagzeal 3 місяці тому

    Great information, keep it up Sir. Masterpiece consolidation.

  • @user-nk8oi4pi9f
    @user-nk8oi4pi9f 3 місяці тому

    Very Informative

  • @simplyabdou8425
    @simplyabdou8425 3 місяці тому

    very darn helpful thanks !

  • @mdk1983
    @mdk1983 3 місяці тому +1

    Lovely topic Koushik. This is like correcting posture for regular Gym goers. It is important to know the how and why.

    • @Java.Brains
      @Java.Brains  3 місяці тому +2

      Haha that's a great analogy. We tend to get into bad habits that needs correction sometimes!

  • @poojabondkar4983
    @poojabondkar4983 3 місяці тому

    This is really very helpful. Keep help us to learn lot of like this .

  • @punyabikash3624
    @punyabikash3624 3 місяці тому

    Very nice sir 👌 👍 truely very informative and helpful 😊

  • @raamch
    @raamch 2 місяці тому

    great content on how to avoid spring boot basic mistakes.

  • @marvellouschandan
    @marvellouschandan 3 місяці тому

    Happy to say that I am using all the best practices what Kaushik has suggested 😃

  • @hyperborean72
    @hyperborean72 3 місяці тому

    very useful remarks

  • @ArjunKumar-zu2kl
    @ArjunKumar-zu2kl 3 місяці тому

    Very nicely explained, thank you so much...

  • @cloudpavan
    @cloudpavan 3 місяці тому +1

    Hey Koushik, would you mind opening up your calendar for 1-1 sessions, we are missing it.

  • @khalidben9940
    @khalidben9940 3 місяці тому

    Very good content

  • @jopadjr
    @jopadjr 2 місяці тому

    Hi Koushik, I recently came across an article highlighting Java vulnerabilities. In light of this, I believe it would be beneficial to create a playlist outlining the steps for: (1) Upgrading to the latest version of Java (2) Updating JAR files (3) Transitioning to the most recent dependencies. This playlist would serve as a valuable resource for us, subscribers, to proactively address potential security risks associated with outdated Java environments. Would you be available to create such a playlist? Thanks in advance.

  • @abhishekkumarroy2815
    @abhishekkumarroy2815 3 місяці тому

    Thanks ❤ kaushik provide this valuable information,your every video lectures provide valuable information

  • @someshvemula9966
    @someshvemula9966 3 місяці тому +3

    Please correct me If I'm wrong.
    I feel like @Autowired is more readable and convenient compared to the constructor based dependency injection.

    • @hyperborean72
      @hyperborean72 3 місяці тому

      It's simply because you do not understand what constructor injection is

  • @giovannisardisco4541
    @giovannisardisco4541 Місяць тому

    Exception handling in Spring Boot is an art. I don't like to define custom Exception for known what happen.
    I'm curious about the right way to define persolalized error response.

  • @Aabara_ka_dabara
    @Aabara_ka_dabara 3 місяці тому

    when will the lectures of Spring Essentials coming?

  • @satya12389
    @satya12389 3 місяці тому

    Can you please do video on go language and how it's future if learn...I am from Java background

  • @gowthamkrishnasamy
    @gowthamkrishnasamy 3 місяці тому

    Good one, but Autowired annotations is useful man. It reduces two lines of code

  • @rexsam3134
    @rexsam3134 3 місяці тому

    If i have 15 or more Autowired then am I supposed to add them in that Constructor Injection? Private is good enough. Are you saying i can add final to Constructor Injection?

  • @petrodrobov
    @petrodrobov 3 місяці тому

    Do we have possibility in Spring to swich the log level on fly? I mean to change Info to Debug in production without restatring the spring app?

  • @anirudhhosur3827
    @anirudhhosur3827 3 місяці тому

    I completely agree.
    I try to cover the same concepts and teach the same scenarios and use cases to my students.
    Great video.
    I would love to do a collab some day :)
    Best
    Anirudh

  • @asfakmhmd
    @asfakmhmd 25 днів тому

    3:06 removing autowired and adding @reqargconstructor to add constructor injection 🤣

  • @anthonya880
    @anthonya880 3 місяці тому +2

    Please add some new deep dive courses.

  • @omgmaw
    @omgmaw 3 місяці тому

    Are there any performance impact of using too many annotations?

  • @victordo6685
    @victordo6685 3 місяці тому

    nice

  • @tyler13923
    @tyler13923 3 місяці тому

    your mic recording has too much bass and sounds muddy, but love the content keep it up.

  • @mr.uthamaputhiran9790
    @mr.uthamaputhiran9790 3 місяці тому

    Thanks for this. But I was wondering isnt Autowired annotation more concise than verbose constructor injection?

    • @Quillraven
      @Quillraven 3 місяці тому

      Autowired makes your properties mutable. Constructor injection can make them immutable which should always be preferred.
      Also, if you use Lombok it is as simple as adding a RequiredArgs annotation to your class.

  • @RoopkishorPandeyji
    @RoopkishorPandeyji 3 місяці тому +1

    Last week I have watched spring boot videos from java brains those are 7 years old videos

    • @Java.Brains
      @Java.Brains  3 місяці тому +4

      Yup, and surprisingly, those are still relevant for the most part! :)

  • @MarathiNationOne
    @MarathiNationOne 3 місяці тому

    I agree with we should use constructor injection but it makes code little bulky,, why can't we use field injection instead even it looks clean. what would be the your suggestion in practically

    • @213bballer
      @213bballer 3 місяці тому

      You can use Lombok and have contructor injection and it’s really clean

  • @cool-aquarian
    @cool-aquarian 3 місяці тому +1

    Should start new channel called Spring Brains

  • @AjayKumar-fd9mv
    @AjayKumar-fd9mv 3 місяці тому

    😊

  • @rtb8085
    @rtb8085 3 місяці тому +1

    Field wiring should not be used, its best practice to use constructor injection !

  • @javaprivateexception6188
    @javaprivateexception6188 2 місяці тому

    Must be nightmare to work with such staff Engineer. Highly opinionated vibe

  • @Tony-dp1rl
    @Tony-dp1rl 3 місяці тому +1

    Your first mistake is choosing Spring Boot, every other mistake stems from that.

  • @gofudgeyourselves9024
    @gofudgeyourselves9024 3 місяці тому

    ok