Spring is a light weight framework used to develop complex java applications.
Advantages of spring are
1.It is very light weight when compared to EJBs
2.It can be easily integrated with other frameworks
3.No need of any web server while developing applications. As it provides some inbuilt containers.
4.Provides built in support for connection pooling and transaction management.
Spring provides below two containers
1.BeanFatory container.(Bean factory container is also called as IOC container or Core container)
2.ApplicationContextContainer
BeanFactory container :
1.BeanFactory container is also called as IOC Container or core container
2.It is implementation of BeanFactory class
2.It supports lazy loading. i.e. objects are injected only when they are invoked.
4.By default it considers all beans as singleton
5.