I've watched your entire tutorial about hibernate and now is spring. Thanks very much for your video!
@AniketSomwanshi-ll7mz
3 жыл бұрын
Considering this is 10years old, is it okay to learn Spring 3 or Spring 5 has major changes?
@vasantpatil5004
4 жыл бұрын
Very simple explanation. Everyone can understand DI after watching this video .
@melvinkimathi8924
3 жыл бұрын
9 years old, but still relevant...Thank you sir
@AniketSomwanshi-ll7mz
3 жыл бұрын
Considering this is 10years old, is it okay to learn Spring 3 or Spring 5 has major changes?
@melvinkimathi8924
3 жыл бұрын
@@AniketSomwanshi-ll7mz I would advice you learn Spring 5 and spring boot...Spring 5 lays the foundation for spring boot
@AniketSomwanshi-ll7mz
3 жыл бұрын
@@melvinkimathi8924 thanks a lot. I really love this guy's way of teaching. But guess I'll have to go for the udemy course by Chad darby
@melvinkimathi8924
3 жыл бұрын
@@AniketSomwanshi-ll7mz I have done that course , and it's very detailed and Chad explains every concept every well
@AniketSomwanshi-ll7mz
3 жыл бұрын
@@melvinkimathi8924 Thank god!
@sachinpandey8028
6 жыл бұрын
Two things which really means a lot 1:- Main goal of Spring framework is how to decouple relationship between dependent Object 2:- Dependency Injection means separate the class which is dependent and inject them when its needed from outside. Perfect :) Thank you very much @kaushik
@surendranvelath4355
6 жыл бұрын
Please check out my Java videos too
@adennis200
4 жыл бұрын
thats what I learned from this video as well. Its about decoupling and delegating dependencies out of the class where it matters. The class itself doesnt know what happens and as soon as you need something to change you pass that info to the class from the outside.
@aelfar7533
3 жыл бұрын
your summary is as good as the explanation itself
@AniketSomwanshi-ll7mz
3 жыл бұрын
Considering this is 10years old, is it okay to learn Spring 3 or Spring 5 has major changes?
@lootster
5 ай бұрын
00:04 Dependency Injection decouples conventional dependency relationships between objects 01:58 Implementing polymorphism through interfaces and inheritance. 03:55 Implementing polymorphism in Java 05:49 Implementing Dependency Injection for Shape Drawing 07:38 Implementing Dependency Injection in Java 09:36 Dependency from a specific shape is removed 11:21 Understanding Dependency Injection in shapes and drawing 13:05 Understanding Dependency Injection in Spring
@vinaymodepalli2930
Жыл бұрын
Can anyone please tell me if this playlist is still relevant? Most of my mentors suggested this channel for java frameworks. Please let me know if this is a great resource even it's 11 years old.
@new_moon1728
Жыл бұрын
If anyone can answer, please tag me so I can see it too.
@sup9125
11 ай бұрын
let me know too
@Cricket-xs1vc
5 ай бұрын
Yeah this playlist is still a gem if u want to cover spring core, has cracked interview in 2024 using this playlist, keep preparing....cheers
@shashikantnipanikar860
4 ай бұрын
The only thing is, now no one uses xml to define beans. You can refer to this playlist and see how people do things today with Spring Boot
@Cricket-xs1vc
4 ай бұрын
Yes, exactly but right after this playlist we can watch rest API playlist which will make the concepts a lot clear and once the rest API is clear, someone just starting the career or someone in the college can start creating projects which will definitely help in grasping the concepts and once rest API is completed then microservice can be learnt and after that the deployment portion is a must to be learnt. Well that's the path that helped me switch from a non-java job to a java job along with DSA.
@samferrer
8 жыл бұрын
Very clear explanation, but I do not think the example captures the essence of dependency injection. It is just the right object oriented design. The point of dependency injection is to let the framework decide when to insert an object, how to initiate it and what are the links to concerned objects. This setting creates logic.
@KamleshSharma-si2rq
5 жыл бұрын
Sir the main point of dependency injection is to loosely couple and app should be configurable he explains the stuff very nicely as the application can handle any type of objects at runtime and which is managed by external source which is spring and it is just overview,He discussed all the concepts in the later videos..
@AniketSomwanshi-ll7mz
3 жыл бұрын
Considering this is 10years old, is it okay to learn Spring 3 or Spring 5 has major changes?
@sandeepsahani1439
8 жыл бұрын
Beautifully explained. Cheers! When a learner comes across the terms like - Dependency Injection , it feels like only Newton can understand this :) . This video made it a lot simpler :)
@AniketSomwanshi-ll7mz
3 жыл бұрын
Considering this is 10years old, is it okay to learn Spring 3 or Spring 5 has major changes?
@chandnibhatia1211
9 жыл бұрын
All your tutorials are easy to understand and u explain very well ..thanks for all the videos.Also,it would be really nice if u could refernce some books along with your videos!!!
@Java.Brains
9 жыл бұрын
chandni bhatia Good idea. I'll make sure to do that in subsequent courses.
@rbflowin_TV
9 жыл бұрын
Java Brains hi kaushik, is this series of tutorials good to go ahead with regards to current version of spring. I mean are there any major changes or just negligible changes.
@VijayKumar-ob3hn
8 жыл бұрын
I really want to help you, being student the attitude always should be finding and digging for good. Question and Answers do not help.! If you have to gain maturity start asking yourself and search for it, evaluate the truth and adopt it as per the need. All frameworks do change continuously the way we need to follow for intention of doing program.. Since from documentation of Spring there are many number of books on spring, each one talks in different context. There are many libraries even now a days all coming in digital world.! :) Thank you.
@Abdullahkhan-ks2py
9 жыл бұрын
Your way of explaining things is really awesome and the way you slowly but steadily approach the problem is good. I appreciate your good work.
@ginopeduto4264
5 жыл бұрын
I am really impressed! These videos are high quality in every aspekt - good didactics, clear accentfree voice, pleasant degree of difficulty, to name a few. Thx a lot!!!
@stephenweber33
2 жыл бұрын
You have an intellectual voice and are easy to understand. You can go far as an instructor. I would ask . That you do not get to the correct answer by going through a period of time where you describe dead ends. I KNOW that most students end up at dead ends and want to know the PROPER way to write such and such code. But for example your triangle , circle code. I follow along at each step. Holding onto each word. And then you stop and say, "Oh this is wrong because of blah blah blah..." then you repeat to a class level and I am holding on listening. But you again end with oh this is not right , Blah bla blah. And again I wait for JUST the correct solution. I know as an instructor you remember each students problem and maybe are just trying to show a student kindness by givinng them some value in how they got there. But it is laborious in the long run. I KNOW from your voice that overall your course will tell me about the Spring Framework. But You are losing points everytime you teach by stepping from D graded code to C graded code to B graded code to A level code. Just give the right A level code. And if the A level code is too complex. THEN PREFIX EVERY EVERY EVERY EVERY time you start a few minutes of code that you are then going to claim is a dead end with . such a statement THAT SAYS JUST THAT at the start. , "Here is what students generally write and it has a problem." And I would sigh if you did that. I saw your 10 minute talk. CONCISE, and fast. GOOD. I subscribed. And I am here. But I have a short lifetime compared to the stars in the sky. Just teach THE CORRECT STEPS. One can use bad code. But the framework started because of those errors. REMIND US THAT THEY ARE ERROR BEFORE I spit out my milk after 2-3 minutes when you say oh no and delete it and start over. Try this once. Take this tutorial 1 delete the gradinng steps with triangle and circle and give it to someone that KNows Spring. I guarantee they will appreciate the 14 minute being shaved down to 5. CONCISE and PERFECT. Code does not run if it is not perfect. Otherwise. I just stopped and am crossinng my fingers. Because I want some general tutorial on Spring and I am hoping you are it.
@almazrizvi642
3 жыл бұрын
who else is watching in 2021
@ibrahim-ry6sn
Жыл бұрын
Hey from 2023
@JamesJ30t
9 жыл бұрын
Spring MVC please!!!!!!! Thanks for your other tutorials.
@TheFlyguy31
6 жыл бұрын
Probably one of the best tutorials on Dependency Injection on KZitem..
@carlos.arenas
11 жыл бұрын
nice.. but you still have to write Circle or others... so it's almost the same shit :B the only thing this kind of coding help you out is to show off you've got a lot of code xD no no.. really, i do understand it and use it.. but sometimes patterns like factory, facade, etc. seem really unnecessary. DAO, DTO (defining interfaces from DTOs really help a lot!), and application sometimes does trick...
@anshuranjan1102
2 ай бұрын
Now a days all youtuber who are earning a lot in the name of spring boot zero to hero course , they will no tell you that there is a night and day like difference between spring and spring boot. The core concept of spring framework is MUST to know . I understand that spring boot is helping development a lot and making their job easier but someone who wants to learn Spring boot should know the basic concepts of spring framework first to understand what is going on behind the hood(when you use annotations).
@dilipjain9581
9 жыл бұрын
Your explanation is awesome. Thanks!!
@Razvi
7 жыл бұрын
Thank you for your tutorials :D
@AniketSomwanshi-ll7mz
3 жыл бұрын
Considering this is 10years old, is it okay to learn Spring 3 or Spring 5 has major changes?
@Qraven
5 жыл бұрын
Thank you so much, you are the only person who have finally explained this to me!
@AniketSomwanshi-ll7mz
3 жыл бұрын
Considering this is 10years old, is it okay to learn Spring 3 or Spring 5 has major changes?
@AmitSingh-vf9lf
2 жыл бұрын
Best explanation in the internet, had gone through Pluralsight course as well but even that didn’t clear the concept but Kaushik is great teacher!
@GiriAlkondanSubbiah
9 жыл бұрын
Thank you for the wonderful tutorials. Can you please add "Spring MVC" tutorials as well?
@pali240
10 жыл бұрын
Here are the examples (my GitHub): github.com/pali600/Pali600Sources/tree/master/SpringTutorial_JavaBrains
@TheSridharraj
10 жыл бұрын
HI, Could you also please have tutorial on spring MVC. Yur way of explanation is good and will be great if u can have it.
@namanmishra08
9 жыл бұрын
Great job Koushik! All of your tutorials are very well organized and the concepts have been explained in a very clear manner. Very helpful for beginners. Thanks for putting in the effort.
@AniketSomwanshi-ll7mz
3 жыл бұрын
Considering this is 10years old, is it okay to learn Spring 3 or Spring 5 has major changes?
@adarshverma3372
3 жыл бұрын
please please make videos on spring mvc
@stephenweber33
2 жыл бұрын
The best words were around 14:09. Using the words in the title!!! inject this triangle as a dependency into the drawing class. PLEASE. at 3:27 It was perfect. forget all the dead end crap coding examples and get to 8:38 where you popped up the Parent class. When you start talking polymorphism. And you go on fine to triangle . It seems g0 od till 11:28 ... With the TEACHING METHOD. Say something. Then say it again. Then cut out everything to 14:28. And be done with it. Leave the conclusion. "This is an overview of...." So let me see 3:30+ (11:30-8:40)+ (14:28+10)+(14:30-14:51) = 3:30+2:50+.:10+:20= About 7 minutes. It would feel soooooo SOOO much better as YOU NAILED the idea of dependencies in under 30 seconds with your 10min take. THANK YOU ANYWAY. video editting . You are awesome.
@ameynaik621
10 жыл бұрын
Thank you for these valuable videos. I have learned spring as well as hibernate from your video. The best part is that you have explained all the basics in videos. So it is not difficult to learn each part of technology. Thanx again.
@aviator9728
6 жыл бұрын
very good tutorials almost covered everything but i will suggest please update your courses as now spring 5 is arrived. some of the videos where getting errors please try to tell them as well. keep it up good work.
@mycasper9000
4 жыл бұрын
Koushik, First of all i would like to thank you for producing such a wonderful tutorial, but as of now the spring has grown significantly on whole new level and if we particularly talk about spring core, things are changed overtime and new theories and concepts comes in. So i just need to know if one can consider learning this framework with new version e.g 4.x or 5.x version ? or learning spring 3.x is still legit and covers the majority features?
@uweguevara3651
6 жыл бұрын
Question: For my understanding, there is a line in the Different class that lacks and that is: Drawing drawing = new Drawing(); Right? Pls. Correct me if I'm wrong and tell me why? Thanks.
@chandrapmouli
11 жыл бұрын
Perfect....Looking for this explanation on DI. Many thanks.
@georgetsiklauri
6 жыл бұрын
Hi, You have some typos (I hope i'ts typo). public setShape(...) will not compile in the class Drawing. Missing the return type.. or rename it to be a constructor.
@VijayBarathi
2 жыл бұрын
Koushik, This playlist is a treasure on spring framework. Could you please refresh this tutorial with latest version of the framework ? As you can see most of the framework components used in the examples are not useable directly as few of them are either depreciated or replaced with a different class or interface. If I am missing any latest playlist, let me know.
@anupriya9947
Жыл бұрын
Hello .. I am new in learning backend in java. Can you suggest me any cource for it please
@shehapeldien7025
Жыл бұрын
@@anupriya9947 i have the same Question, i think you have the answer now, tell me pls
@OnkarDeshpande
3 жыл бұрын
Hello Kaushik, I am following your course from the inception of this channel and I am really thankful for all your courses over the period of time I would like to know your plan for a refresher course on Spring 5.0 and 5.1. I didn't find quality material on KZitem on these topics hope you are planning something on that. Thanks in advance Regards, Onkar Deshpande
@AniketSomwanshi-ll7mz
3 жыл бұрын
Considering this is 10years old, is it okay to learn Spring 3 or Spring 5 has major changes?
@OnkarDeshpande
3 жыл бұрын
@@AniketSomwanshi-ll7mz I believe 3 is mostly not in use in the projects my recommendation is 5 and above
@SunilSharma1
7 жыл бұрын
Thanks for the easy explanation, As you said, this is a very high level overview of dependency injection and I found it very useful in understanding what exactly dependency is.
@realAhmedAbdElGhany
3 жыл бұрын
that's so epic hope you update it
@vivekgopalakrishnan1647
6 жыл бұрын
why cant people be simple and straight forward like you. Good Teaching, Thank you very much.
@amolmaid9317
7 жыл бұрын
Happy Teacher's day Sir ... 💐🎂🤗 Thanks for your various really useful tutorials which always helped and will gonna help us ... so thanks a lot ...
@marianmaria17
4 жыл бұрын
Hi all, since the video is some 9 years old, will I be getting all the topics to be learnt covered here?? Thanks in advance.
@naveenbabu6930
9 жыл бұрын
can u pls help us with Spring MVC
@ameeqhs
3 жыл бұрын
Thank you! It is the best tutorial I found about the dependency injection.
@AniketSomwanshi-ll7mz
3 жыл бұрын
Considering this is 10years old, is it okay to learn Spring 3 or Spring 5 has major changes?
@duyhuynh3682
2 жыл бұрын
Can u pls. Create a new course for developer
@2011jiqbal
9 жыл бұрын
wow you explain things so well. you ask all the question that come to my mind as they come to my mind.... really like your videos and explanations
@sachinkeche
5 жыл бұрын
Nice tutorial, any good reference book for the begineer to spring latest vesion.
@parihar-shashwat
6 жыл бұрын
It looks more like a strategy pattern than polymorphism.
@brucewayne6501
7 жыл бұрын
THIS IS ONE OF THE BEST TUTORIAL VIDEO I HAVE EVER SEEN ! KEEP UP THE EXCELLENT WORK JB ! AND THANK YOU FOR MAKING THESE LESSONS :)
@AniketSomwanshi-ll7mz
3 жыл бұрын
Considering this is 10years old, is it okay to learn Spring 3 or Spring 5 has major changes?
@TonyTigerTonyTiger
6 жыл бұрын
Dependency inversion is not the same thing as dependency injection.
@patelismailpatel3342
8 жыл бұрын
Great Work ...Simple enuf
@cskwillreturn2473
7 жыл бұрын
At 10:40 you are passing the triangle object to drawing class that is supposed to actually receive object of type shape. So there needs a typecasting.
@TESkyrimizer
3 жыл бұрын
what's the point of having setShape(Shape shape) and draw() if you can accomplish the same with just drawShape(Shape shape)? im seriously confused someone please tell me :(
@zahidrahman2427
3 жыл бұрын
You have not shown instantiation of drawing from Drawing. Regurgitated a dumb explanation without explanation any logic execution.
@rakeshmehra6321
6 жыл бұрын
Hi, Thank you! you explain thing perfectly well. But one question. According to my knowledge, you cannot instantiate an interface. But in your video you mentioned that we will have an object of Shape interface. Could you clarify? Thank you
@ichchharams
6 жыл бұрын
Rakesh Mehra we can't instantiate interface or abstract class but interface/abstract class reference can hold object of class which is implementing the interface or extending the abstract class. Hope u understand. E.g Shape shape = new Triangle(); Here shape(small s) is a ref variable of type Shape(capital s) and this reference variable is holding object of Triangle class.
@parthsalat3915
2 жыл бұрын
3:00 I think u mean implement and not inherit
@neeteshsoni7671
4 жыл бұрын
you make Drawing class object (drawing) and using drawing for calling....don't you think Different class is now dependent on Drawing class...please do explain..I have confusion
@mayurpabale953
6 жыл бұрын
Thank you Koushik for all your wonderful tutorials on JavaBrains! you make it very easy to understand and learn :)
@rezor1212
5 жыл бұрын
After a year of playing with Spring I finnally understand WHY is it done like that. Thanks!
@NeverQuitOk
5 жыл бұрын
Great way of learning.
@AniketSomwanshi-ll7mz
3 жыл бұрын
Considering this is 10years old, is it okay to learn Spring 3 or Spring 5 has major changes?
@rezor1212
3 жыл бұрын
@@AniketSomwanshi-ll7mz the key principles of Sping are sames among versions
@0x28
12 жыл бұрын
14 minutes of this man's explanation is far superior than hours of dry academic explanation at a university.
@dimiturtsenoff5882
5 жыл бұрын
Is this still viable to 2019?
@dibaliba
5 жыл бұрын
of course~~
@navneetkumar5268
Жыл бұрын
Concept yes.. like before learning calculus you need to know Addition Subtraction multiplication Division
@dingusagar
4 жыл бұрын
Checkout this simple java example that explains Dependency Injection using a simple Car and Engine analogy. github.com/dingusagar/DependencyInjectionExample
@anupriya9947
Жыл бұрын
Hello .. I am new in learning backend in java and want to learn spring framework. Can you suggest me any cource for it please
@GhassenKhalilAti
7 жыл бұрын
Thanks for this explanation..I see it's so similar to Factory and Builder design patterns
@spenigma1
11 жыл бұрын
Simply an amazing tutorial. Much appreciated
@LalitKumarKitchenRecipies
8 жыл бұрын
Can anyone please tell me what should I learn first Spring or Hibernate and why ?
@szLynAs
8 жыл бұрын
Learn Spring first for business logic. Then learn Hibernate if you need database for fulfilling your business logic
@syedaqib2912
3 жыл бұрын
Bro, you change your career from java Developer to Pro Chef ??
@LalitKumarKitchenRecipies
3 жыл бұрын
@@syedaqib2912 Haha, I didn't change my carrier, I am just cooking whenever I get enough time.
@sandeepnath9504
3 жыл бұрын
Definitely spring because you can get a job only on spring too but can't say the same for hibernate
@lorenzorangelsuarez6653
3 жыл бұрын
First of all Spring
@mohitchauhan1
7 жыл бұрын
how did he able to invoke setShape() method using Drawing(class name). Is'nt it require drawing object to invoke setShape method
@ronak212
3 жыл бұрын
One doubt, can't we achieve this even in our standard java application? Where was spring in all of these?
@reflectedcrosssite2848
3 жыл бұрын
I think it's much easier to do in spring due to annotation
@adamsoltesz6764
11 жыл бұрын
Great, clear explanation, as in all of your videos. Thanks!
@shahinrajaei1666
27 күн бұрын
I love you man, you have deep knowledge
@thethreesowrdz
15 күн бұрын
is this stll relevent? i mean its been 13 years. (ps: im looking for spring boot tutorial)
@AbhijeetKumar-yi9dg
9 жыл бұрын
Your tutorials are excellent and simply wonderful. Thanks for sharing
@sandeepnath9504
3 жыл бұрын
Hi Sir I would like to take the full course of spring boot with microservices could you please send me the link for the videos? I am ok even if they are paid
@kishannr911
7 жыл бұрын
Oh , anyways thank you so much for these valuable video tutorials.
@mohammedjaved4226
7 жыл бұрын
where is the object of Drawing class in Different class?
@omarhosny6947
3 жыл бұрын
Yes i have the same question. If you know it let me know.
@conworldus8310
6 жыл бұрын
I have read two books on Springs and did not understand it at all. After watching your tutorial, it is crystal clear now how spring works. Thank you, sooooo much. You are outstanding.
@sharathchandra1477
Ай бұрын
Can you tell the names of the books you read? And also please recommend me some good books
@krishnatejaAkella
9 жыл бұрын
koushik sir _/\_ kudos to you excellent lecture
@abdelrahmanattya1306
6 жыл бұрын
i think it would be better if u used a simple example that only focus on dependency injection instead of focusing on polymorphism.
@javageek158
9 жыл бұрын
Sir I want to make my career in web development. so please can you tell me which part of Spring and need to study so I can develop websites with database connection using Spring framework.I know core java, JSP, Servlet, html5 & css3.
@harshsinha3221
6 жыл бұрын
Java Geek Spring MVC and Spring Security
@anilkumaradhikari2355
3 жыл бұрын
I enjoy your java essentials tutorial series and is very helpful. I saw that this tutorial series created in 2011 and it's been 10 years. Could you please update this series.
@simon8284
Жыл бұрын
Bro where to find the latest course? Any youtuber or online course that you suggest, also is this course behind of today's time i.e. 2023?
@AnuragVishwa
3 жыл бұрын
Still Relevant
@anupriya9947
Жыл бұрын
Hello .. I am new in learning backend in java and want to learn spring framework. Can you suggest me any cource for it please
Why cant we directly pass Shape inside drawShape as its polymorph We can utilise its power. Are we overusing the class variable by creating Shape instance. Looks like without introducing any state in Drawing class it can server its purpose. Even though I am not sure but in concurrent environment this might create some problem, As developer will not have hold on object creation, Does spring guaranties object to be thread safe, by using synchronise it can overkill application.And Spring implementation of DI will be a black box. Is there any good article what is the exact need of DI and can demonstrate when to use DI & when not??????
@VIRAJBHOSLE
6 жыл бұрын
Maven project link with latest versions github.com/vbhosle/spring-core github.com/vbhosle/spring-aop github.com/vbhosle/SpringDataJavabrains
@ilciavo
11 жыл бұрын
Brilliant explanation!!!! ... I've been looking for an explanation like this for months :)... could you make give comments on the three different types of dependency injection??
@mainakroychowdhury7
6 жыл бұрын
@Java Brains ...Its very easily explained.. But I need to clear a point... In the 2nd solution i.e. method parameter can I change the code...i.e. Shape shape= new Triangle (); Application.myDrawingMethod(shape); & put this part of code inside a new class....in this way the dependency of on Triangle object in Application class can be removed....is it OK???? May be I am wrong....please clarify my doubts.... Thanks in advance
@vigneshwarp3462
6 жыл бұрын
Regarding the Polymorphism, Is it right to call it as "Shape object"? Shape is a class, from which we inherit. Shape s = new Circle() Here 's' is a reference of Shape class. Is it colloquially called as Shape object?
@johnnydoamaral
8 жыл бұрын
Great explanation dude, very clear. Even a child can understand it. Keep up the good work.
@kiffeeify
7 жыл бұрын
I came here to understand something about SPRING and DEPENDENCY INJECTION. All I saw was polymorphism which I already knew. 10minutes of wasted time. sorry.
@sravanidaparthi9964
10 жыл бұрын
Can spring dependency integration can be integrated with android? If yes HOW? please help me anyone.
@Arkainebe
8 ай бұрын
This was uploaded twelve years ago. Is this still relevant? I love this guy's courses, but if it's obsolete I may have to look elsewhere? Thanks for feedback!
@perenflo8603
5 жыл бұрын
Jingle: “Well, you know my name is Simon and I like to do drawerings. I like to draw all day long so come and do drawerings with me. Come and do drawerings with me!” Old SNL skit - kzitem.info/news/bejne/uLB-1pOIm2Wndqw
@uweguevara3651
6 жыл бұрын
Ok, I think I've understood, but I'm not sure. The hole thing has an abstract fatherclass shape and 2 sonclasses Circle and Triangle. Now in the traditional Java solution You have an Application class which includes the initialiazing of the objects and the drawing. The solution of Dependency Injection divides the application class into a drawing class which sets and draws the shape it gets by the OtherClass, which initializes the objects and passes them. Now the advantige is that we have a drawing part that is independent of the type of shape, but anyway, the code must be changed, when there are new shapes. So my impression is, that we have an indipendent drawing class - ok, but I don't understand why it is an advantage respect to the traditional Java solution. We've got a new class but in both cases code must be changed in the same way. Could s.o. pls. help me? Thanks
@asadkhandadlo6572
2 жыл бұрын
At 3:30 implementation of the Shape interface, variable names are same! Isn't it a error/bug? You must have initiated variable names as shapeTriangle, shapeCircle or triangleShape, circleShape. Because this approach will be more clear for beginners. Regards
@deepakbhatt2213
11 жыл бұрын
really confusing....!!!!!!!!!!! I was expecting a clear understanding from Koushik.
@bharathkumar-ek5pc
5 жыл бұрын
Hi Mr.Koushik. Your vedios are great but I do have a small doubt. In the above vedio the application class in the method parameter example and the drawing class in the class member variable example looks like the same. Both needs the shape object for another class. They why we need to go for the class member variable? Awaiting for your response. Thanks in advance.
@karankanojiya7672
6 жыл бұрын
How can you call setShape() and drawShape() method without Creating object of Drawing Class and you called this method with class name drawing and you can do this if your Class is static. Reply ? time:- 12:03
@niharr7
9 жыл бұрын
BUt in that different class again u created triangle class object. So they are highly coupled.
@journeytothedream6127
10 ай бұрын
I know I am 12 years late but even if you setShape using the instance of the drawing class you are still instantiating the Triangle class. I thought we were trying to avoid instantiating the circle class or Triangle class!! 😕😕
@nishantzade3914
3 жыл бұрын
Sir, if possible can you recreate this video with core implementation? On KZitem dependency injection is explained in Spring Framework not on real concept If its possible please recreate this with same example Thankyou :)
@tempname8263
6 ай бұрын
HOW DO YOU SPEND 15 MINUTES ON EXPLAINING HOW TO MAKE A 3-LINE LONG CLASS!?
@hoanghailethe1734
3 жыл бұрын
you deserve to be called the BEST JAVA TEACHER on youtube if not in the world! Thank you very much for making my learning much easier
@AniketSomwanshi-ll7mz
3 жыл бұрын
Considering this is 10years old, is it okay to learn Spring 3 or Spring 5 has major changes?
@hoanghailethe1734
3 жыл бұрын
@@AniketSomwanshi-ll7mz I just go for Springboot. I learn the fundamental of Spring just to support my SB implementation
@AniketSomwanshi-ll7mz
3 жыл бұрын
@@hoanghailethe1734 I see
@samferrer
11 жыл бұрын
...continue ... Triangle and circle have only accessor methods to get/set the dimensions. The Painter class may access (by injection) yet another class called Transformer that performs rotation/translations or any other affine transformation in space. Transformer instances could be chained to each other to create compositions of transformations. All this can be set up in an outer class (Studio) that instantiates all the classes and realise the proper injections.
Пікірлер: 673