adspace


What is the difference between beanfactory and applicationcontext in spring?

Answer Posted / Abhishek Pathak

BeanFactory is a basic container that provides dependency injection capabilities and can load beans defined in XML configuration files. ApplicationContext, on the other hand, extends BeanFactory by providing additional features such as support for internationalization messages, event publishing and listening, and autowired annotations.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between @controller and @restcontroller in spring?

556


What is lazy class?

490


How can you inject java collection in spring?

518