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
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.
i will soon start that.
Unit testing with Mocking frameworks would be better..how should one write in static,private,etc
Please also explain the same property usage in @enableAutoConfiguration annotation, which is used during application start up
This playlist is awesome please don't make it private in future as well many people will benefit from this.
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.
Telling Thank you sir before even watching your video
Please bring spring boot videos more frequently 🙂🫶
Very helpful. Thanks for producing this video.
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.
Bro really loved your video the way you explain really appreciated your hard work
Bro really loved your video the way you explain really appreciated your hard work❤
thanks
Thank you🙏
Hi shreyansh , can you please complete playlist within a month i have interview and your teaching style is really really awesome
Thank you sir
Without using conditional property we can do using custom auto configuration or custom processor
@Shrayansh Jain 100K subscribe will complete this week, so we need at least 2 more video on spring boot. Sorry for too much greed 😊😊.
:)
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.
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.
@@ConceptandCodinggot it, thank you🙏🏼
Why this ConditionalonProperty not works when we are loading properties file using PropertySoucesPlaceholderConfigurer?
And it only works when we use application.propertues in resources
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?
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
Great explanation sir,
Will you add microservice related project in it?
yes later i will add
Please provide DSA content also
:)
Instead of putting screenshot and explaining, U can show live demonstration and code their itself. That will be better
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
@@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!!
@@ConceptandCodingbrother I love this format and many too , go ahead with same bro