Spring boot @ConditionalOnProperty Annotation

Поділитися
Вставка
  • Опубліковано 29 гру 2024

КОМЕНТАРІ •

  • @harshitanand7349
    @harshitanand7349 7 місяців тому +17

    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  7 місяців тому +6

      i will soon start that.

    • @LazyTechie-f2z
      @LazyTechie-f2z 7 місяців тому

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

    • @DurgaShiva7574
      @DurgaShiva7574 6 місяців тому

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

    • @talktovideos4349
      @talktovideos4349 4 місяці тому

      Amazing idea, this is really something which is needed very much.

  • @dattasaimogudampalli
    @dattasaimogudampalli 7 місяців тому +3

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

  • @AdityaKumar-gd6fb
    @AdityaKumar-gd6fb 6 днів тому

    very unique and industry oriented content

  • @in_tyler_we_trust
    @in_tyler_we_trust 7 місяців тому +3

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

  • @a_dev6696
    @a_dev6696 17 днів тому +1

    Very well explained ❤

  • @AbdelrhmanAdel-y3b
    @AbdelrhmanAdel-y3b 7 місяців тому +2

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

  • @adityasrivastava4082
    @adityasrivastava4082 7 місяців тому +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.

  • @drakezen
    @drakezen 7 місяців тому +1

    Very helpful. Thanks for producing this video.

  • @rikinpd6514
    @rikinpd6514 7 місяців тому +3

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

  • @VishwasUnisys
    @VishwasUnisys 5 місяців тому +2

    We can achieve above requirement easily with your last video dynamic initialization right, i think that is the best way to achive above requirement.

  • @ashishjaiswal4207
    @ashishjaiswal4207 7 місяців тому +2

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

  • @rishitkamboj8078
    @rishitkamboj8078 6 місяців тому

    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.

  • @gsinghly
    @gsinghly 7 місяців тому +2

    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  7 місяців тому +2

      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 7 місяців тому +1

      @@ConceptandCodinggot it, thank you🙏🏼

  • @JaspreetSingh-h4u2y
    @JaspreetSingh-h4u2y 20 днів тому

    Shrayansh in the above road map u had mentioned microservices but i couldn't see in above 25 videos could you please help me on the same.

  • @nailtagiyev6340
    @nailtagiyev6340 6 місяців тому

    Sir, can you explain @EnableJpaRepositories and @EntityScan annotations also?

  • @rabindradocument8934
    @rabindradocument8934 6 місяців тому

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

  • @mukeshjadhav1064
    @mukeshjadhav1064 7 місяців тому

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

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

    Hey can you make a video on spring beans of prototype scope. All I have seen is singleton scope and wonder where a prototype will be used and if we do what happens when there are more than 1 constructor and how to pass value to them using in a annotation setting.

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

      Prototype means for every HTTP request new object will be created by Spring and stored in the Spring container and it will be available for the entire life cycle of the HTTP request if you make another HTTP request then another new object will created and so on..
      when comes to singleton once the object has been created by Spring for the first HTTP request and further HTTP requests also same object will be used instead of creating a new one as like prototype
      reference link : ua-cam.com/video/NnNvDknQJt0/v-deo.html

  • @manjosh1990
    @manjosh1990 5 місяців тому

    In what order does the beans get initialized?

  • @rishikant7357
    @rishikant7357 7 місяців тому +1

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

  • @farukhmahammad9374
    @farukhmahammad9374 5 місяців тому

    can we have 2 different db connections like mysql and postgres in the same application?

  • @architdhiman7713
    @architdhiman7713 6 місяців тому +1

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

    • @trainlikeafighter9056
      @trainlikeafighter9056 10 днів тому

      When using PropertySourcesPlaceholderConfigurer to load a custom properties file, the properties are not automatically registered in the Spring Environment, which is what @ConditionalOnProperty relies on.
      The PropertySourcesPlaceholderConfigurer resolves placeholders (e.g., @Value or ${property.name}) during bean instantiation, but it does not directly interact with the conditional evaluation mechanism of @ConditionalOnProperty

  • @namansaraswat9691
    @namansaraswat9691 7 місяців тому

    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 7 місяців тому

    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

  • @saurabhkashyap6625
    @saurabhkashyap6625 7 місяців тому +1

    Thank you🙏

  • @suchithranv502
    @suchithranv502 7 місяців тому +1

    Thank you sir

  • @richasaini5580
    @richasaini5580 7 місяців тому

    Please provide DSA content also

  • @anandpatil102
    @anandpatil102 7 місяців тому

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

    • @ConceptandCoding
      @ConceptandCoding  7 місяців тому +1

      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 7 місяців тому

      @@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 7 місяців тому +1

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

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

    try to speak fast ..it is wasting time please

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

      @@meetpatel7688 sure, but pls increase the speed by 2x by then