What is Dependency Injection? | Why | Spring

  Рет қаралды 712,132

Telusko

Telusko

Күн бұрын

Пікірлер: 282
@dhananajaykrishna8259
@dhananajaykrishna8259 4 жыл бұрын
You're not just a programmer but also an awesome story teller. When asked about dependency injection people make it so complex that you start scratching your head.... But you explained like it was a piece of cake. 🙏
@deletevil
@deletevil 5 жыл бұрын
Big brother, you speak so beautifully your words directly injects into my brain without an error at all. Everything becomes so comprehensible when you explain it.
@ShivamSingh-yl7jo
@ShivamSingh-yl7jo 4 жыл бұрын
Best tutorial on dependency injection. Finally, I got what it really is.
@awaisjamil5713
@awaisjamil5713 Жыл бұрын
I am thankful to you, I remember after graduation your videos were the source of preparation material for me for interviews and I landed a job. Respect from Pakistan.
@doglover4621
@doglover4621 5 жыл бұрын
One of the best KZbinr in teaching. Seriously I learned a lot from this channel
@krishnabangari9287
@krishnabangari9287 Жыл бұрын
Man, 5 years old video and still the best explanation about dependency explanation. This guy truly knows the subject, and he knows which example to pick to explain what topic. He has the teaching spirit in him. Hands down the best youtube channel. whenever, i have a doubt i come here, dang the concepts are much clear. Kudos to you brother.
@gregc6107
@gregc6107 5 жыл бұрын
At it's core, dependency injection centralizes the creation of concrete objects that your client (meaning your code) uses and can use in many places. This provides many benefits, first you are able to easily switch out the implementation, you are able to easily test the implementation, and you are able to wrap or manipulate how you want it to instantiate. Whether it be wrapping authentication around it or adding pre and post processing, or auditing/logging to it and you can do this retroactively in the entire system in a very easy manner.
@chococookiess_
@chococookiess_ 5 ай бұрын
To completely understand what he says, you need to have seen these things work in real life. 2 years ago when i was a student , i tried to understand Dependency Injections, but I didn't really understand all of it! And now when i write my own mock objects and dependency injections , i understand why it is needed. So dont worry if you dont understand this video in one go!
@piyushbhuva9975
@piyushbhuva9975 3 жыл бұрын
man, the passion and joy of teaching in this guy's eyes is sight to behold...
@AdamVigas
@AdamVigas 2 жыл бұрын
This guy is teaching me everything...i am not even browsing youtube. Once i find this guy i go ahead...and it always work. Best teacher
@mahmudhr2760
@mahmudhr2760 6 жыл бұрын
Sir, from the beginning of my programming you have been with me. Thank you so much for your instructions !
@specialk2720
@specialk2720 6 жыл бұрын
This guy, men you are a good teacher. I don't know if you know David J. Malan from Havard? You and that guy are my best teachers of all time. Good job!
@hirenvadher2610
@hirenvadher2610 4 жыл бұрын
I know David
@jagadeeshgurana4490
@jagadeeshgurana4490 6 ай бұрын
you are the god of simple and elegant explanation of the most complex topics.
@RAJATTHEPAGAL
@RAJATTHEPAGAL 6 жыл бұрын
Really good explanation I covered Software Engineering recently + have been using Spring and Angular and never actually realised about this loosely coupled idea. Nice philosophy behind how project should be managed. Also the part of testing that loose coupling makes it easier to test, never realised that :-D ...... Great explanation a bit of practical would be plus ...
@urvashisharma7415
@urvashisharma7415 4 жыл бұрын
ive been wandering around for days trying to find a proper explanation for DI...and although im focussed on DI in Dart this video was the BEST to understand what it means...thank you very much sir
@srijan5298
@srijan5298 6 жыл бұрын
Sir i'm a student of Cdac and even teachers here, also dont explain concepts like this. Thankyou sir❤
@AnthonyHernandez-tb4cu
@AnthonyHernandez-tb4cu 2 жыл бұрын
I have watched more of your videos to learn SWE topics than I can count. You have been instrumental in allowing me to understand these concepts intuitively. Big thanks!
@neerarjayan5957
@neerarjayan5957 6 жыл бұрын
You are the God of Java dude.. I was searching this explanation for a whole week and i got that within 8 mins from your video. Thanks a lot.
@stevensmith5626
@stevensmith5626 2 жыл бұрын
Fantastic explanation that takes away the confusion. We tend to use such big words when a simple explanation is the best way. I have been doing this concept since 1975 and it always amuses me when the industry comes up with a new concept that really is just doing good programming with a different word. Great job!
@karthickd8251
@karthickd8251 6 жыл бұрын
My day starts with Telusko
@roshanpandey5357
@roshanpandey5357 3 жыл бұрын
Yeah, now I understand .. what is dependency injection, why it is required, how it works ... this man is too good #telusko
@hinafraz528
@hinafraz528 5 жыл бұрын
thanks for using classes on screen. got some idea of the concept.
@wodiarefaine5076
@wodiarefaine5076 11 ай бұрын
I thoroughly enjoy the way you explain things; you are undoubtedly talented at it. Personally, I highly value and appreciate the service you provide.
@behzadmokhnefi1636
@behzadmokhnefi1636 4 жыл бұрын
The best teacher that i have ever seen , thanks a lot !!!!!!!
@shuvamsahoo1130
@shuvamsahoo1130 4 жыл бұрын
Best teacher on KZbin 😍
@iarpanbose
@iarpanbose 3 жыл бұрын
Im 7+ yr experience in java and spring and i always screwed up the defination of dependency injection in the interviews 🤣
@dibyaranjanparida6666
@dibyaranjanparida6666 Жыл бұрын
Hlo bhai
@meetalodariya5972
@meetalodariya5972 5 жыл бұрын
the best explanation I found on the internet................
@ravimule1924
@ravimule1924 6 жыл бұрын
I saw so many video's and article about DI but still somewhere i'm confused but you solve it using very simple way...Thanks
@chinmaydas4053
@chinmaydas4053 6 жыл бұрын
How great teacher you are.. Lots of love and respect sir.. Great topics.. we need practical implementations of all these concepts in projects..
@chinmaydas4053
@chinmaydas4053 6 жыл бұрын
Thanks for reference.. I have watched the video.. greatly explained sir..
@chinmaydas4053
@chinmaydas4053 6 жыл бұрын
Sir i'm confused wheather i should learn new java10 features like var, garbage collectors etc or it's good or bad and future updates of java bcz oracle now saying many things... Please sir.. make a complete video on all these topics.. would be helpful..
@yosukeyoh
@yosukeyoh 3 жыл бұрын
this is the best explanation about dependency injection in Spring ive heard so far. Simple but I can understand it so well! Thank you!
@berjaoui92
@berjaoui92 4 жыл бұрын
Few developpers can explain. Telusko can. Thanks for sharing.
@dhanush4422
@dhanush4422 2 жыл бұрын
now i understand dependecy injection. what a great examples you use sir. easily understandable even for layman
@A_A7337
@A_A7337 2 жыл бұрын
Your explonation is amazing. Thank you for the video
@cillaqiu7142
@cillaqiu7142 2 жыл бұрын
I forgot why I subscribe you, it must because of other video. But I know you save me again, so cleeeeeeeear and understandable. Thank you.
@gyanprakash302
@gyanprakash302 2 жыл бұрын
This guy is GOLD !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@SachinSingh-sm7yg
@SachinSingh-sm7yg 6 жыл бұрын
Sir You're a Greate Teacher.
@nitinjain2490
@nitinjain2490 3 жыл бұрын
Clarity of DI is 🔥 by far the best video ❤️
@Yash-xd7ny
@Yash-xd7ny 4 жыл бұрын
became fan of your teaching...awesome sir
@Anju02
@Anju02 3 жыл бұрын
You just explained the concept nicely manner. Thanks for explaining! finally got it.
@wasiqkhan5975
@wasiqkhan5975 2 жыл бұрын
I couldn't understand it yet I have to see it once or twice more but it look's like it is the best explaination of dependency injection. thanks
@MunniDivya
@MunniDivya 4 жыл бұрын
hands down! best video with simple explaination
@SA-oh9bk
@SA-oh9bk 2 жыл бұрын
Thanks for the real concept of dependency injection.
@horvathmilcsi
@horvathmilcsi 11 ай бұрын
Made some thimgs clearer: loose coupling is important for unit test separation, dependency injection is controlled by a 3rd party. Thanks man!
@eliasfonguhnji4898
@eliasfonguhnji4898 10 ай бұрын
This time I got your explanation for DI very very clear
@prateekgupta11
@prateekgupta11 4 жыл бұрын
His way of expaination is beautiful. I can say a lot of foriegn trainers and linkedin learning course teachers are useless in front of the way he is explaining things.
@andreme7326
@andreme7326 3 жыл бұрын
You have a talent for teaching.
@raulguzman8070
@raulguzman8070 2 жыл бұрын
Omg man you´re the best. It´s clear your explanation.
@YouradOmrik
@YouradOmrik 2 жыл бұрын
Things are easy to understand but difficult to explain, thank you so much Sensei.
@shalinidusharla9142
@shalinidusharla9142 5 жыл бұрын
Sir, you are a yogi who makes students enlightened.
@lifeind4293
@lifeind4293 3 жыл бұрын
Simplest and best explanation of DI. Thank you!!
@ruvindaranasinghe780
@ruvindaranasinghe780 6 жыл бұрын
One of the better Java channels :)
@sidique5269
@sidique5269 5 жыл бұрын
Great Navin Sir you are always there to help me ...no words for this kind of explanation
@ananddhapse408
@ananddhapse408 4 жыл бұрын
Awesome explanation Really i enjoyed your teaching...👌👌
@pookiedudu
@pookiedudu 4 жыл бұрын
Wow, now that's a brilliant explanation 💯💯
@arindamroy7671
@arindamroy7671 3 жыл бұрын
Comprehensive and relatable. Nice analogies to explain the concept. Thanks Navin !
@aditydud
@aditydud 3 жыл бұрын
Your videos are always best.
@ramsciutube
@ramsciutube 6 жыл бұрын
Marvelous teaching style. Superb, Marvelous, Mind blowing.
@softtechbro
@softtechbro 3 жыл бұрын
Amazing! I enjoyed this!
@88ashwa
@88ashwa 6 жыл бұрын
You are a great teacher Naveen garu, than you for the video series..
@dpatel4362
@dpatel4362 5 жыл бұрын
Thanks for a very thorough and simple explanation. Your tutorials are addictive. God bless you.
@praveennarvaneni2970
@praveennarvaneni2970 Жыл бұрын
The example is awesome. Thank you
@ruchikachandra5636
@ruchikachandra5636 3 жыл бұрын
Really good explanation. Your example is very understandable.
@bunty9492
@bunty9492 6 жыл бұрын
Myself Shamim from your servlets,jsp, hibernate, spring batch great awesome video please make more spring hibernate videos in detail like this video.
@andreicheta9403
@andreicheta9403 4 жыл бұрын
this guy make's me programer :))) thank's!
@Ignicolis1
@Ignicolis1 4 жыл бұрын
Me too))
@ayenewyihune
@ayenewyihune 3 жыл бұрын
I came here for easy explanation and yes, as expected😊
@sjvait26
@sjvait26 3 жыл бұрын
Very good explanation. Thanks.
@ashuzguitar
@ashuzguitar 4 жыл бұрын
Thank you so much Naveen Reddy ! I've some experience, and even I found this very useful. So far, I've used @Autowire n number of times to inject @Repositories in my @Services and to inject @Services in my @Controllers. But after watching your video, it became crystal clear, why!! The example of Hitachi and Samsung Harddrives implementing Harddrive interface and Laptop using loose coupling by means of someone else injecting the dependencies - @Autowire and @Component - is a truly great example, and it has helped me grasp this concept, I'd like to believe, concretely. Earlier I knew how to use it, but wouldn't be able to explain so lucidly to some one if they asked WHY. I'd just say do like this, as it is industry standard :D :) Similarly, I knew about JUnit testing with Mockito and mocking certain classes, etc. But didn't consciously realize that due to loose coupling only mocking is made possible. I never worried about how mocking is made possible. Now I know. :) \/, So, thanks a lot. May god bless you ! You now have a new subscriber.
@Akki31
@Akki31 6 жыл бұрын
Very good examplaination sir about dependency injection... thanks for explaining in such easy way and you have given a very good example which make us to understand easily amd better way.
@ravikyasth6851
@ravikyasth6851 4 жыл бұрын
Thank you so much Naveen Reddy !
@sagarkapasi099
@sagarkapasi099 6 жыл бұрын
This is the first time i understood dependency injection and the jargons related to it! Thanks.
@worldwide1515
@worldwide1515 4 жыл бұрын
Such beautiful and clean explanation
@vladanulardzic5859
@vladanulardzic5859 6 жыл бұрын
Excellent explanation based on real practical example ! Thank you for sharing this valuable knowledge. Vladan Ulardzic
@Black_wiseman
@Black_wiseman 3 жыл бұрын
You are the best, thanks for the explaination
@archu0078
@archu0078 6 жыл бұрын
You have got very good teacher skill. Awesome 👏 . Very clear and concise
@sidharthanayak
@sidharthanayak 4 жыл бұрын
Very thorough, simple and informartive explanation!
@7988honey
@7988honey 3 жыл бұрын
Great I knew we use this for loosely coupled but the way he told is very good.
@adityadubey5204
@adityadubey5204 2 жыл бұрын
A big big thanks naveen :)
@poojagp5895
@poojagp5895 4 жыл бұрын
Hi sir,am a big fan of your tutorials ....I request you to make videos on microservices in java ......
@RameshJothimani
@RameshJothimani 4 жыл бұрын
A simple and an excellent explanation. Thank you very much !
@GoutamSikder
@GoutamSikder 4 жыл бұрын
Very Good Explanation, Thank you.
@abhishekchavan1782
@abhishekchavan1782 3 жыл бұрын
Very well put together
@tejashwinihampannavar8398
@tejashwinihampannavar8398 Жыл бұрын
Thanku for your wonderful explanation sir🙏
@jarhrodriguez646
@jarhrodriguez646 4 жыл бұрын
Extremely grateful for this explanation sir!
@KotaSarat52
@KotaSarat52 6 жыл бұрын
The knowledge u share to us is priceless
@KH-hn3nu
@KH-hn3nu 2 жыл бұрын
Thank you sir!!! Succinct and engaging explanation.
@umesh1056
@umesh1056 Жыл бұрын
Nice explanation superb ..Thank you
@shanchessmetilda5550
@shanchessmetilda5550 2 жыл бұрын
Hey ! You have it so simple.Thanks for this :)
@rissandimo
@rissandimo 6 жыл бұрын
This is an excellent video, thanks for taking the time to make it! And for the people commenting that he needs to provide some sort of implementation, he posted a link to that in the description: @t
@rajibsarker3729
@rajibsarker3729 4 жыл бұрын
excellent example.
@BK-nb9or
@BK-nb9or 3 жыл бұрын
Very useful and good explanation! Thank you!
@theistengineer2850
@theistengineer2850 2 жыл бұрын
Very well explained. Thank you.
@felipevillarroel6259
@felipevillarroel6259 4 жыл бұрын
Thank you for this clarification, I understood it completely!
@themisc.guy936
@themisc.guy936 6 жыл бұрын
Sir, i want to learn Spring, which playlist is suitable for me to learn from scratch? Spring Boot or Spring MVC or any other playlist??
@Overthought7
@Overthought7 5 жыл бұрын
I'm new to Java, and I'm glad you gave some simple examples, but I think you needed to go into more details. It's unclear to me why these two examples are different. It seems like in both, you define a class in one place and instantiate it in another place. What's the difference?
@AlayDhagia
@AlayDhagia 3 жыл бұрын
Learned a lot. Thank you for putting this up.
@jeniljain6928
@jeniljain6928 4 жыл бұрын
Great explanation!! Really recommended. Thank you :D
@arungore6578
@arungore6578 6 жыл бұрын
You have improved lot in the area of content delivery.. keep going on
@SyedAli-tc3yu
@SyedAli-tc3yu 5 жыл бұрын
I actually enjoyed this.Man O man you are a gem
@sudiptochakraborty2874
@sudiptochakraborty2874 3 жыл бұрын
3:36 can we instantiate a interface :) ?
@vaibhavbhavsar1
@vaibhavbhavsar1 5 жыл бұрын
Quite Impressssive , i understand everything in just 8 min thanks
Spring Tool Suite | Spring Boot IDE
8:54
Telusko
Рет қаралды 273 М.
#4  IoC and DI in Spring
7:53
Telusko
Рет қаралды 96 М.
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
Spring | Autowire | Dependency Injection | Spring Boot
18:23
Telusko
Рет қаралды 590 М.
#6  Dependency Injection using Spring Boot
13:34
Telusko
Рет қаралды 76 М.
Dependency Injection, The Best Pattern
13:16
CodeAesthetic
Рет қаралды 899 М.
Dependency Injection & Inversion of Control
11:00
Ryan Schachte
Рет қаралды 200 М.
What is the Spring framework really all about?
10:45
Java Brains
Рет қаралды 787 М.
Spring Boot JDBC using JdbcTemplate
29:39
Telusko
Рет қаралды 88 М.
Spring ultimate basics: What are Spring Beans and what is the Spring Container?
16:30
Locked in 🔒(via aircopfpv/IG) #DroneRacingLeague
0:12
Drone Racing League
Рет қаралды 19 МЛН
Samsung S4 is the Goat 💀 #trollface #trending #trending #viral #shorts
0:19
iPhone Samsung 2050
0:13
Adhemz
Рет қаралды 670 М.
Playstation 5 Pro 30th Anniversary за 750 000
1:29
Romancev768
Рет қаралды 457 М.
Los abanicos holográficos están a punto de revolucionar el negocio
0:23
WOW 😱 How to Make AirPods from Regular Headphones
0:47
ALABAYCHIC
Рет қаралды 20 МЛН