Bean Factory and Application context
Hi friends
Can anyone explain me what is Bean Factory and Application context? What is the lifecycle in spring Bean Factory Container?
Thanks
Â
Â
Hi friends
Can anyone explain me what is Bean Factory and Application context? What is the lifecycle in spring Bean Factory Container?
Thanks
Â
Â
Hi,
The BeanFactory is the definite container which configures, manages and instantiates a quantity of beans. These beans characteristically work together with one another, and hence have reliance among them. It gives a higher pattern method competent of running beans of any character, using any type of storage capability.
The ApplicationContext constructs on apex of the BeanFactory and inserts extra functionality such as simpler message resource managing event proliferation, application-layer specific contexts, Springs AOP features, declarative methods to produce the ApplicationCOntext and optional parent context.
The lifecycle in spring BeanFactory is simple recognize. It is essential to execute various initializations to find it into a working status.
Â
Best regards,
Heather marieÂ