Bean Factory and Application context

Asked By 30 points N/A Posted on -
qa-featured

Hi friends

Can anyone explain me what is Bean Factory and Application context? What is the lifecycle in spring Bean Factory Container?

Thanks

 

 

SHARE
Answered By 0 points N/A #110552

Bean Factory and Application context

qa-featured

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 

Related Questions