Spring boot @ConditionalOnProperty Annotation

Поделиться
HTML-код
  • Опубликовано: 28 июн 2024
  • ➡️ Notes link: Shared in the Member Community Post (If you are Member of this channel, then pls check the Member community post, i have shared the Notes link there)
    ➡️ Join this channel to get access to member only perks:
    / @conceptandcoding
    Chapters:
    00:00 - Definition
    03:04 - Use Cases where this annotation helps
    05:43 - ConditionalOnProperty with Java example
    15:54 - Advantages and Disadvantages

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

  • @harshitanand7349
    @harshitanand7349 Месяц назад +11

    Shrayansh. You are helping techies who are already in industry. I hope you will launch something related to Unit Testing, importance of test cases, how to write tests of large code base and what’s the thought process behind testing.

    • @ConceptandCoding
      @ConceptandCoding  Месяц назад +4

      i will soon start that.

    • @user-dq8cv4sj8w
      @user-dq8cv4sj8w Месяц назад

      Unit testing with Mocking frameworks would be better..how should one write in static,private,etc

    • @DurgaShiva7574
      @DurgaShiva7574 20 дней назад

      Please also explain the same property usage in @enableAutoConfiguration annotation, which is used during application start up

  • @dattasaimogudampalli
    @dattasaimogudampalli Месяц назад +3

    This playlist is awesome please don't make it private in future as well many people will benefit from this.

  • @rishitkamboj8078
    @rishitkamboj8078 Час назад

    For beginners, it would be great if u tell the folder structure too? like how to maintain the beans and components in different different packages or stuff.

  • @in_tyler_we_trust
    @in_tyler_we_trust Месяц назад +3

    Telling Thank you sir before even watching your video
    Please bring spring boot videos more frequently 🙂🫶

  • @drakezen
    @drakezen Месяц назад +1

    Very helpful. Thanks for producing this video.

  • @adityasrivastava4082
    @adityasrivastava4082 Месяц назад +1

    Thank you for making these kind of informative videos. Its very helpful to gain knowledge in depth. Request you to please make one java backend project as well after this courses.

  • @user-pz7sh8ws8l
    @user-pz7sh8ws8l Месяц назад +1

    Bro really loved your video the way you explain really appreciated your hard work

  • @rikinpd6514
    @rikinpd6514 Месяц назад +3

    Bro really loved your video the way you explain really appreciated your hard work❤

  • @saurabhkashyap6625
    @saurabhkashyap6625 Месяц назад +1

    Thank you🙏

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

    Hi shreyansh , can you please complete playlist within a month i have interview and your teaching style is really really awesome

  • @suchithranv502
    @suchithranv502 Месяц назад +1

    Thank you sir

  • @rabindradocument8934
    @rabindradocument8934 21 день назад

    Without using conditional property we can do using custom auto configuration or custom processor

  • @ashishjaiswal4207
    @ashishjaiswal4207 Месяц назад +1

    @Shrayansh Jain 100K subscribe will complete this week, so we need at least 2 more video on spring boot. Sorry for too much greed 😊😊.

  • @gsinghly
    @gsinghly Месяц назад +1

    hi Shreyansh,
    really thankful for all these videos and your efforts.
    Can you please let me know how much videos will it take to complete the Spring Boot playlist approximate?
    I’m not asking about time since I’m aware it depends on your bandwidth. I want to get an idea how much of major Spring Boot is left.

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

      minimum i need 3 months of time, considering i will work on all sat sun. i can cover 20 more videos with it and i think with that all major topics i would be able to touch.

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

      @@ConceptandCodinggot it, thank you🙏🏼

  • @architdhiman7713
    @architdhiman7713 23 дня назад

    Why this ConditionalonProperty not works when we are loading properties file using PropertySoucesPlaceholderConfigurer?
    And it only works when we use application.propertues in resources

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

    I have used this annotation widely when we need to provide feature flags in our application. It is easier to manage this in spring-boot but I faced issue when the application is spring based instead of spring-boot , with xml file to replicate same functionality like autowired(required=false) is quite tough.
    I am sure you have also faced same thing in case of spring based application, in those case how you resolved those?

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

    hi shreyans i need one help i saw your video related to interview series . The question you asked are top both want to know where can I get these kind os question to practise. Any resource will be helpful

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

    Great explanation sir,
    Will you add microservice related project in it?

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

    Please provide DSA content also

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

    Instead of putting screenshot and explaining, U can show live demonstration and code their itself. That will be better

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

      video length is the concern.
      Coding at the time of explaining, will definitely increase the video length.
      So expectation is, engineers will learn and then do code themselves

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

      @@ConceptandCoding ok instead of coding directly you can show already written code in IDE instead of screenshot. Because screenshot doesn't give sense of coding you know. That's my suggestion, but videos are really good and thanks for such valuable content!!

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

      ​@@ConceptandCodingbrother I love this format and many too , go ahead with same bro