What is the difference between beanfactory and applicationcontext in spring?



What is the difference between beanfactory and applicationcontext in spring?..

Answer / 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

More Spring Framework Interview Questions

What are the types of ioc container in spring?

1 Answers  


What are the minimum settings to create a spring mvc application?

1 Answers  


What is spring responseentity?

1 Answers  


What do you mean by configuration annotation in spring?

1 Answers  


What is application context in spring mvc?

1 Answers  


What are the different types of object relational mapping that spring supports?

1 Answers  


What are beans in java spring?

1 Answers  


What does @component do in spring boot? : Spring Boot

1 Answers  


What is the latest spring version?

1 Answers  


How many modules are there in spring framework and what are they?

1 Answers  


Are singleton beans thread-safe?

1 Answers  


How do you call the multiple lifecycle mechanisms configured for the same bean?

1 Answers  


Categories