Spring boot @ConditionalOnProperty Annotation

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

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

  • @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 6 หลายเดือนก่อน

      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.

  • @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 🙂🫶

  • @AbdelrhmanAdel-y3b
    @AbdelrhmanAdel-y3b 7 หลายเดือนก่อน +2

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

  • @a_dev6696
    @a_dev6696 8 วันที่ผ่านมา +1

    Very well explained ❤

  • @rikinpd6514
    @rikinpd6514 7 หลายเดือนก่อน +3

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

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

    Very helpful. Thanks for producing this video.

  • @adityasrivastava4082
    @adityasrivastava4082 6 หลายเดือนก่อน +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.

  • @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.

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

    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 29 วันที่ผ่านมา

      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 : th-cam.com/video/NnNvDknQJt0/w-d-xo.html

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

    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.

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

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

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

    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

  • @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 😊😊.

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

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

  • @JaspreetSingh-h4u2y
    @JaspreetSingh-h4u2y 12 วันที่ผ่านมา

    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.

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

    In what order does the beans get initialized?

  • @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 2 วันที่ผ่านมา

      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

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

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

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

    Thank you🙏

  • @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🙏🏼

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

    Thank you sir

  • @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 6 หลายเดือนก่อน

    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

  • @richasaini5580
    @richasaini5580 6 หลายเดือนก่อน

    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 2 หลายเดือนก่อน

    try to speak fast ..it is wasting time please

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

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