1. Bean Creation and Initialization :
2. Bean Configuration Handling :
3. Bean Lifecycle Management :
4. Beans Scope Management :
5. Dependency Injection (DI) :
6. AOP (Aspect-Oriented Programming) Support :
7. Integration with Other Technologies :
8. Internationalization (I18N) Support :
9. Environment Management :
10. Bean Post-Processing :
Below is the diagram showing the working of Spring Container :-
Below is the explanation :-
There are 2 types of Spring Container :-
1. BeanFactory
2. ApplicationContext
Note: BeanFactory is an "old" Spring Container and ApplicationContext is "new" Spring Container and provides many extra features so we should always use ApplicationContext in real world projects.
Interview Question : What is Difference between BeanFactory & ApplicationContext ?
Click Here for answer
Below is the hierarchy of Spring Containers :-
Your feedback helps us grow! If there's anything we can fix or improve, please let us know.
We’re here to make our tutorials better based on your thoughts and suggestions.