0 votes
in Spring by
What is the difference between beanfactory and applicationcontext in spring. Any one can explain in details.

1 Answer

0 votes
There are following difference between Applicationcontext and Beanfactory:

1) ApplicationContext extends the BeanFactory
2) In spring new versions, BeanFactory is replaced with ApplicationContext. BeanFactory exists for backward compatability
3) ApplicationContext provides us following benifits
    a) It supports internationalization
    b) It supports event publication to registered listeners
    c) Access to resources such as URL's and files

Share:- Whatsapp Facebook Facebook

Welcome to Developerhelpway Q&A, where you can ask questions and receive answers from other members of the community.