Spring boot @ConditionalOnProperty Annotation
➡️ 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
Пікірлер: 36
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
2 ай бұрын
i will soon start that.
@user-dq8cv4sj8w
2 ай бұрын
Unit testing with Mocking frameworks would be better..how should one write in static,private,etc
@DurgaShiva7574
Ай бұрын
Please also explain the same property usage in @enableAutoConfiguration annotation, which is used during application start up
We can achieve above requirement easily with your last video dynamic initialization right, i think that is the best way to achive above requirement.
This playlist is awesome please don't make it private in future as well many people will benefit from this.
Telling Thank you sir before even watching your video Please bring spring boot videos more frequently 🙂🫶
Very helpful. Thanks for producing this video.
Bro really loved your video the way you explain really appreciated your hard work
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.
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.
Thank you🙏
Bro really loved your video the way you explain really appreciated your hard work❤
@ConceptandCoding
2 ай бұрын
thanks
Thank you sir
Hi shreyansh , can you please complete playlist within a month i have interview and your teaching style is really really awesome
Sir, can you explain @EnableJpaRepositories and @EntityScan annotations also?
In what order does the beans get initialized?
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
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 😊😊.
@ConceptandCoding
2 ай бұрын
:)
can we have 2 different db connections like mysql and postgres in the same application?
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
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
2 ай бұрын
@@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
Great explanation sir, Will you add microservice related project in it?
@ConceptandCoding
2 ай бұрын
yes later i will add
Please provide DSA content also
@ConceptandCoding
2 ай бұрын
:)
Instead of putting screenshot and explaining, U can show live demonstration and code their itself. That will be better
@ConceptandCoding
2 ай бұрын
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
2 ай бұрын
@@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
2 ай бұрын
@@ConceptandCodingbrother I love this format and many too , go ahead with same bro