Spring Notes
Spring Notes
SPRING FRAMEWORK
- Spring is a dependency injection framework helps to injecting of
dependencies required by the bean class.
Dependencies - data members in bean class
bean class – 1. declaring data member as private
2. provide access through getters and setters
Dependency injection
There are 3 types of dependency injection
1.Setter injection
2.Constructor injection
3.Interface injection