Can you make a crash course on Microservices too ? Really love to learn from your experience and way of explaining things. You really inspire me to teach others. Thank you for being there Mr. Vega.
@md.hossain693Ай бұрын
This video removed all my confusions. Thanks Dan. Great work.
@SeTrous Жыл бұрын
This is an ABSOLUTE banger Finally i have no misunderstandings on beans, components and even spring container
@meilyn2210 ай бұрын
Thank you. Best explanation. I've been hearing those terms and using them, but I never took the time to understand what they mean. Beans put methods in the application context, mostly used with the @Configuration annotation. @Component put classes into the application context. You are awesome!
@christopherreif3624 Жыл бұрын
I absolutely love your videos, please don’t stop making!
@shreypatel9379 Жыл бұрын
This is THE explanation. Like you explained everything in a much simpler way than all the other sources I have referred to. Thanks for such a wonderful tutorial!
@donglaizhang78959 ай бұрын
Hi Dan, this is fantastic!! A lot of of these detailed information is hard to be found easily. With most of the tutorials and examples online, they only tell you what/how to do, but not why. Thank you!!
@DanVega9 ай бұрын
I feel the same way and I am often trying to answer the questions that I have as well. Really glad you enjoyed it and thank you for the kind words.
@connor88759 ай бұрын
Finally! Finally a video that explains this without ramming meaningless jargon down my ears 😁 You've got yourself a new subscriber!
@nikhilxxsharma Жыл бұрын
This is gold, brilliant Dan, you are amazing.
@samarthurs8000 Жыл бұрын
As always, very valuable content for free. Much Appreciated!
@peachezprogramming10 ай бұрын
Great video. Thanks for making!
@DanVega10 ай бұрын
Thanks for watching
@codingwithraphael Жыл бұрын
You are a true hero Dan!! You’ve just breakdown it so understandable that I’m very impressive.. thank you thank you
@angelmotta3 ай бұрын
Thanks Dan! your example was clear and helped me to solidify my knowledge!
@moonly3781 Жыл бұрын
Finally!!! Thank you, Dan. You're the best✌
@yasminaitmaksene5230 Жыл бұрын
Thank's a lot ! Your explanations really helped me to understand how Spring Beans work :D
@rapasebastian5678 Жыл бұрын
Great content Dan! I was pretty familiar with all the concepts mentioned here, still the content was refreshing. Love the way you dive into things. Keep it up!
@mehnaazmohiuddin Жыл бұрын
Very Cool video @Dan ! For anyone who can't see spring plugin, Spring plugin is available in Ultimate Edition , not the free one.
@flow_987 Жыл бұрын
Incredibly illuminating. Thank you!
@mustafatopcuogullar436418 күн бұрын
Awesome video. Thank you.
@libraniel Жыл бұрын
You're great Dan, thank you and happy coding! 😃
@itsjaylogan Жыл бұрын
Thank you so much. I’m just getting started with Spring and Spring Boot and this video helped me confirm some things I suspected! I will start your Spring training video 🎉
@munnieswaroop8 ай бұрын
Excellent explanation, got some things cleared
@Anonymous-zo9qr3 ай бұрын
Understood clearly. Thanks!
@meysam.85 Жыл бұрын
Thanks @dan, i find it useful. Thanks
@myst.youtube Жыл бұрын
no joke this tutorial of bean and component 100% clear than water.
@shahinrajaei16664 ай бұрын
youre tutorials are bot deep enough, i stii do nit know what beans
@enerjiCS4 ай бұрын
read Spring Start Here chapters 1-4 and then come back, you'll understand it better. that book is worth reading and not too long.
@ddarkodev2923 Жыл бұрын
Thank you, Dan!! So helpful 💪
@rajkumarvb5197 Жыл бұрын
Thanks Dan, it was helpful!
@KennethKousen Жыл бұрын
Nice job. A couple of quick comments: 1. I had no idea that IntellIJ had a Spring view. Seems obvious in retrospect, but thanks for that. 2. I'm surprised you didn't autowire the `RestTemplateBuilder` into the `@Bean` method rather than instantiate it yourself. The builder is available in the application context already, so make it an argument to your configuration method and it'll be autowired in automatically. 3. Even though autowiring works as long as you have only a single constructor in a class, I usually add `@Autowired` anyway, partly as documentation, and partly as protection in case someone else adds a default constructor, at which point the automatic autowiring wouldn't work any more. Just a thought. :)
@DineshkumarPuli Жыл бұрын
Wow! It is Ken! 😮
@KennethKousen Жыл бұрын
@@DineshkumarPuli Snicker. No, it's Dan :-)
@petersteel7735 Жыл бұрын
Thank you Dan! Quality content!!!
@enesb4797 Жыл бұрын
should we not use "new" keyword in classes even if they are just regular classes and not beans or components? let's say I have a helper class for math operations, shouldn't I use "new" keyword in its dependencies? (since you said you should stay away from using "new" keyword 6:54)
@xyvadimxy Жыл бұрын
It's really helpful explanation. Thanks Dan!
@davemerkury Жыл бұрын
Dan! Thank you for your content! It helps me to understand Springboot a lot better! Would you recommend goign through the documentation? I always seem to have trouble with creating queries to retrieve data from mysql.
@crillin570 Жыл бұрын
Thanks Dan, these are very helpful.👍
@GauthamParani Жыл бұрын
Awesome explanation!
@DanVega Жыл бұрын
Thank you!
@FranklyTerrible Жыл бұрын
Not going to lie, this example about beans only confused me more. How does Spring make that vague connection to the Resttemplate method? That seems like dark magic to me...
@ИвоСпасов-й5ш11 ай бұрын
I have been working on Spring projects and gathered some valuable knowledge! Spring basically has the so-called IoC container, which is associated with the dependency injection system it has been integrated with. In simple words, instead of trying to make new objects with the keyword "new" like "new User();", Spring will automatically inject this dependency for you. This can be done in 3 ways: through field, constructor or setter injection. That's it. Also, by default, the instances provided by spring are singleton, namely, only one instance is provided for the entire application context, which of course can be changed if you want.
@smadarsh36354 ай бұрын
😂
@md.hossain693Ай бұрын
This is done through reflection. Reflection is like magic indeed. You can access private fields of one class from another class with the help of reflection. If it simplifies our lives, it is a good thing.
@israelduarte1326 Жыл бұрын
Thank you for the video!
@random-characters4162 Жыл бұрын
Very good and dense content! Thx
@ornelfranck Жыл бұрын
Nicely done!
@brayanmnz Жыл бұрын
Nice shirt, I got mine from Devnexus!
@kyleryxn11 ай бұрын
I like this video, but I think you cold update it with more clarification on best use cases for each. Like, when is it better to use @Component vs. @Bean?
@meilyn2210 ай бұрын
He literally explained it in this video. It's not rocket science.
@ravipandey2911 ай бұрын
Thanks , it is really helpful.
@adityavardhanagarwal495 Жыл бұрын
Can you create a spring security crash course as well please ?
@christopherreif3624 Жыл бұрын
My goodness yes! This would be so helpful.
@ypathan420 Жыл бұрын
He has a playlist on spring security
@santiagomorales9129 Жыл бұрын
also he recommended Laur Spilca on that particular topic
@MrRexxarHell Жыл бұрын
Dude, you explain it so well, that when I have questions about Spring, I go to your channel. Thanks for your work!
@iterator Жыл бұрын
Thanks for the great content! Could you share the font you're using?
@fatihkobacik Жыл бұрын
i think it's cascadia-code font of microsoft
@mlensment Жыл бұрын
Can you cover spring beans and concurrency?
@keithlockey7129 Жыл бұрын
Hi, I like your videos. I found a mistake on your Recent Articles page on your blog. You put "I like to write about anything thta I am currently working or something new that interests me." You misspelled the word "that". Thanks.
@Dina-Barbur Жыл бұрын
thank you, Dan! would you please tell about @component vs @repository. Both annotations are used in infrastructure layer of any REST app (storage or repository packages). I'm slightly confused by such diversity.
@ningw5169 Жыл бұрын
Hey Dan what's the theme you are using?
@zakariyaechmaili5647 Жыл бұрын
Thanks ❤️
@anyname8803 Жыл бұрын
Hello Dan, defining beans with @Bean annotation isn't truly an inversion of control, since we are returning a new bean explicitly with the "new" keyword like so: @Bean public SomeObject myBean(){ return NEW SomeObject() } Please correct my understanding. Thanks
@crlychar Жыл бұрын
Thak you for the tutorial. I have a question. How can i get the same UI of the Intellij IDEA like yours?
@KatarinaClaes-q1p4 ай бұрын
which vscode theme were you using here? I find yours way less cluttery looking than mine.
@Curiosidades-ki2oi Жыл бұрын
Which theme are you using in your IntelliJ?
@FredrikRambris Жыл бұрын
How about factories? Is there a way to register a factory that will return a bean when needed. Say a bean with generics. Is there such a way to easily register a bean factory?
@codex8797 Жыл бұрын
Thank you, really helped
@kreativcity Жыл бұрын
Nice job!
@blanksle2 ай бұрын
is beans closer to classes or instance of classes ?
@shashanksurekhapapde6143 Жыл бұрын
Nice video ! how do i get spring in tool window . Is it only on ultimate edition ?
@mzlobecki Жыл бұрын
what is the shortcut for emoji please? 😄
@USONOFAV Жыл бұрын
Why does @Bean doesn't work if you are returning a Collection type and you have to use @Resource?
@francogiulianopertile279 Жыл бұрын
Good Tutorial
@Keteku. Жыл бұрын
Why do you use a CommandLineRunner instead of just running System.out.println()
@annyeong987 Жыл бұрын
You didn't show how to get that spring view tool
@mTsp4ce6 ай бұрын
2:15 is a logical fallacy (affirming the consequent). A spring bean is an instance of a class, but not every instance of a class is a spring bean. Not off to a good start there, buddy...
@kevinmaltby42023 ай бұрын
2:00 I think here you first imply that simply creating an instance of a class means one gets a Spring bean. You then go on to correctly state that a Spring bean is an object that is _managed_ by the spring runtime. Call me a pedant but I think you need to be clear what is and what isn't a Spring bean afterall you are trying to explain what a Spring Bean is.
@GoodBoy-lr7up7 ай бұрын
Really clear!3ku
@qzf4928 Жыл бұрын
我不会英语,但是通过字幕我学习的很慢但是我会坚持的
@hypekg5719 Жыл бұрын
What's wrong with your camera? Adjust the focus before recording a video
@otaxhu Жыл бұрын
spring boot and all that thing of beans are bullshit dude it isn't declarative, I builded an application with jax-rs and it hasn't all this "magic things" of the spring runtime handling all the instances in the limbo, jax-rs (now called jakarta-rs) gives you more freedom.
@paulhetherington38548 ай бұрын
/krch dsk bean < R'(4''tvk''btx ruch)< ~tmp2''kf(2 inch 824x) @ rdsk~II tmp p''TdDxn gml rul txt tun//J namz krch 4''Rtvk abv + 2''UI' kol rul vd sim LN'' < rdacht~tmp p''2'(xvtn) rtun bean/ /rbean dsk~tmp snd ruch vF8''btz dach txt tn R2''p~ K' rch + frch vktd rbean rul~tmp < txt tun ad cmd~gml + wn ml//+ hlf ruch < 28''frch contnt fiji kalchz rdsk - 4''tvk - fz 2''UI' id - txt tun - verifcate/