Truly clarifying, your "trial and error" method of teaching is the right way to teach this sort of stuff. You are awesome!!!
@berjaoui926 жыл бұрын
Very clear. Thank god Telusko channel exists !!! Thumbs up !! :)
@zanfet8 жыл бұрын
I usually don't comment but this video was so helpful that i feel the need to. Thank you so much. Very clear!
@mikhail15666 жыл бұрын
The best explanation ! Thanks a lot
@RezaJafari19844 жыл бұрын
If I understand good , we can't achieve loose coupling with annotation base configuration BUT with xml we can.
@kinshukau5 жыл бұрын
Thanks a lot for the explanation. It was very helpful.
@meharajfareedy60316 жыл бұрын
You explained very nicely. Thank u sir
@trynew77597 жыл бұрын
Mindblowing Explaination...
@pankhustar6 жыл бұрын
This is not annotation based configuration, its called java based configuration. In annotations based you dont need to create AppConfig.java class
@insane25393 жыл бұрын
is it annotation based based if we mention @ComponentScan(basePackages={"com...}) below @Configuration and write @Component for those classes which we need a bean of?
@Skamch5 жыл бұрын
Thank you I'm form Belarus and you lesson the best
@user-rp9iis1en6h4 жыл бұрын
Hi @telusko, What is the spring context that you have added? Is it different for spring-boot?
@bigbeast007 Жыл бұрын
Can we access a bean from within a Service class instead of the main class(i.e. App in this case)?
@rajyamramasahayam77487 жыл бұрын
Hello Sir, Your videos are very informative., Thank you for that, But, Could you please upload the videos in order by date or by giving number to the videos..Because I am watching each and every video of yours. So that it is clear for us to watch without missing any content.
@TheAbhishek28286 жыл бұрын
thanks bro..!! you explained very clearly
@manjusha96306 жыл бұрын
while creating bean in xml we can inject the properties to the bean with , how can we do that with @Bean annotation
@bharatvarma92784 жыл бұрын
have you found out how to do that? couldn’t find any resources which shows how to set property values using beans in configuration class
@logarathinam17824 жыл бұрын
@@bharatvarma9278 @bean(name=" ")
@nitishprajapati97874 жыл бұрын
@@logarathinam1782 thanks!
@moonshine47573 жыл бұрын
Hey, I did exactly like this but I'm getting 'cannot land configuration class: package name' Why is configuration class isn't loading??
@Krishna-ff3yi3 жыл бұрын
same problem did you find solution
@moonshine47573 жыл бұрын
@@Krishna-ff3yi nope
@Krishna-ff3yi3 жыл бұрын
@@moonshine4757 I got it how to solve that
@moonshine47573 жыл бұрын
@@Krishna-ff3yi Can you tell me?
@Krishna-ff3yi3 жыл бұрын
@@moonshine4757 I put an link you want to do that
@nareshsreerama77927 жыл бұрын
Good explanation... thanks sir
@anushbabu50237 жыл бұрын
Thanks Sir nice explanation
@lakshmism35448 жыл бұрын
thanks Navin for sharing the knowledge.can you please explain on details about the following: ApplicationContext context = new FileSystemXmlApplicationContext();ApplicationContext context = new ClassPathXmlApplicationContext();and what is the difference between them. How can we know which situation to use them.
@vakho308 жыл бұрын
ClassPathXmlApplicationContext reads files from your application's classpath and FileSystemXmlApplicationContext reads from your system (for instance, "C\asdf\***").
@jasnanajeem50152 жыл бұрын
If each of these beans have constructor that do a sysout, then microprocessor class's constructor will get invoked first right ????
@NotSureOf6 жыл бұрын
This is the bit of confusion state of explanation. I think this could have gone with a different example...
@shivisinghal11227 жыл бұрын
Sir yr videos are very easy for understanding.can u plz provide videos on angular
@ravitejadesai5 жыл бұрын
Why did you give cpu type as Mobileprocessor? And why did you return snapDroagon object for Mobleprocessor Bean in Appconfig Class?
@prernak96996 жыл бұрын
Best Channel !!! Thanks
@sagarchindam88466 жыл бұрын
Do we still need getter and setter for mobileprocessor wen we are using @Autowired annotation.?
@ramsikarwar76 жыл бұрын
no
@skumarv126 жыл бұрын
No.. Since MobileProcessor is Autowired, you do not need getter/setter
@shashgo7 жыл бұрын
Navin, I did exactly what you did, the only difference is the package name, but it is consistent amongst all the three files. And I did the last thing you did also, that is putting the @Bean annotation, but Im still getting the "No qualifying bean of type [com.spring.SpringAnno.Samsung] is defined"
@KrishnaDhakate6 жыл бұрын
Without getter/setter we can run the mobile processor. Then whats the reason for g/s?
@TrulyLordOfNothing6 жыл бұрын
You can run it without getter/setters.
@anjaliwani17996 жыл бұрын
What are the annotations used for java based configuration??
@ashuzguitar4 жыл бұрын
Thanks a lot once again!
@tomaspyth70177 жыл бұрын
I would appreciate it if you could maintain the upload date in the video description so that we know wether the tutorial still (!)actual. Nevertheless great video, you got a thumbs up and an abo from me... sorry for my English
@devegus793 жыл бұрын
Thank you.
@shivisinghal11226 жыл бұрын
Please provide video on angular 4
@prabhashprabhat25506 жыл бұрын
Please share link for immediate next video tutorial....
@peedrap9876543215 жыл бұрын
if the MobileProcessor contain another @Autowired reference and it contain another @Autowired reference than how it will create the object ?
@AmlanMohantyOfficial5 жыл бұрын
Simple thing is.. If you are writing @Autowired for any class, Make sure you must mention @Component on top of the same class while defining the class. I mean if you are autowiring Laptop class inside Phone class make sure you must mention @Component while defining Laptop class.
@pmtk20552 жыл бұрын
Why not use @Component over the Samsung class?
@somnathroy88036 жыл бұрын
without maven can it possible to show spring mvc
@ramsikarwar76 жыл бұрын
yes
@Raj-do7zs5 жыл бұрын
why are you creating getter and setter .. ? i did't get that
@ayami1234 жыл бұрын
put your paypal in the description so we could donate :D
@DoubtedBuddy4 жыл бұрын
but still it is not fully annotation based component as you have mentioned component annotation in xml file through which you can provide object to class car but in tyre case it is fully annotation based as it is not getting object through xml file can you avoid xml file in case of giving object to car class.........
@madhulikam86313 жыл бұрын
How to resolve bean creation exception
@AmlanMohantyOfficial5 жыл бұрын
@Telusko.. If we dont write @Configuration on top of AppConfig class and keep everything else exactly the same as you have mentioned over here.. Are we going to get any exception?
@sachinmahajan61735 жыл бұрын
I think this will not work as Bean is to be declared with Configuration. @Telusko please comment in case of any wrong understanding.
@AmlanMohantyOfficial5 жыл бұрын
@@sachinmahajan6173 Bro.. Are you saying @Bean will only work inside a class if on top of the class @Configuration is mentioned ?
@hithere33792 жыл бұрын
Wait i got confused fellas , we were easily getting object of samsung with new operator. So why do all this configuration to achieve the same objective? Please help genuinely
@sreeharimanoharan32036 жыл бұрын
Awsome
@parwana10007 жыл бұрын
V nice
@AbhishekKumar-yy3ui6 жыл бұрын
there was no need for s/g for mobile-processor.
@TrulyLordOfNothing6 жыл бұрын
Yes, there the tutor goofed up. Great catch!
@skumarv126 жыл бұрын
In order to explain the importance of Autowiring, he added getter/setter I believe!
@issacnewton49766 жыл бұрын
Appreciate your effort but a lecture should concentrate more on a good explanation on concepts , may be using a ppt and a little touch up on the technical aspects. It should be more organized without any debugging during the lecture as we consider you as a tutor or expert...
@fahadgaliwango45026 жыл бұрын
we also need debugging skills, becouse a working code will never make u sweat
@ahmedsufiyan206 жыл бұрын
Cut bullshit ... He's doing great
@nagendersripada77982 жыл бұрын
@@fahadgaliwango4502 correct
@ngndnd Жыл бұрын
slides are boring af. I'd rather see actual code
@priyasagar13324 жыл бұрын
Video is not clear
@online15education4 жыл бұрын
Very fast
@mayankagarwal97866 жыл бұрын
Please use more real world examples rather than this Samsung and all, if I use this Samsung class example in interview then interviewer will not waste his time with me and will say ‘I am done’.
@pankhustar6 жыл бұрын
He is here to explain the concept and not what you need to say in the interview room. If you know the concept you can create as many example as you want.
@mayankagarwal97865 жыл бұрын
@@pankhustar Concepts can be explained well using real world examples that wouldn't waste our time to create other examples to understand the concept well.
@gopiacs2184 Жыл бұрын
This teaching is not clear..... I watched 3 times still I'm not clear U r not defining things properly
@paulfrischknecht39994 жыл бұрын
the Eclipse IDE icons are so pretty... not
@4thIdiot6 жыл бұрын
Very confusing. Explanation was not clear.
@TrulyLordOfNothing6 жыл бұрын
Explanation was clear. You need to know a bit about dependency injection before seeing this video. What exactly was confusing?