Notes about Spring IoC
- The
org.springframework.beans
andorg.springframework.context
packages are the basis for Spring Framework’s IoC container. BeanFactory
provides the configuration framework and basic functionality, and theApplicationContext
adds more enterprise-specific functionality.
In Spring, the objects that form the backbone of your application and that are managed by the Spring IoC container are called beans. A bean is an object that is instantiated, assembled, and managed by a Spring IoC container. Otherwise, a bean is simply one of many objects in your application. Beans, and the dependecies among them, are reflected in the configuration metadata used by a container.