Spring Component Vs Bean | Dependency Injection | Spring Tutorial |Ch1|E2|

preview_player
Показать описание
in this episode, we define what is "component" and what are the extra characteristics of component in contrast to a simple java class.
then we define that what is "Bean" and what is the origin of these namings.

then we compare spring bean to spring component.
Рекомендации по теме
Комментарии
Автор

What's the difference between Annotate based configuration and Java-based configuration terms 00:50? aren't both of them just annotations but on different levels?

CodeWithNasir
Автор

Can we use @component on a class with methods having @bean annotations at the same time? why?

CodeWithNasir
Автор

When we use Java @bean annotation on a method, will it change the return type of the method or type of its class, and how? thanks

CodeWithNasir