[Last Call] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 382
  • Last Modified:

could you explain the difference between beanfactory and applicationcontext

could you explain the difference between beanfactory and applicationcontext
Manikandan Thiagarajan
Manikandan Thiagarajan
  • 2
1 Solution

Application context has more functions - BeanFactory is only
part of functionality of ApplicationContext for creating Beans:

Not all functions of ApplicationsContext are very easy to understand,
but you can read more on each of the items:
see here:

Bean Factory

    Bean instantiation/wiring

Application Context

    Bean instantiation/wiring
    Automatic BeanPostProcessor registration
    Automatic BeanFactoryPostProcessor registration
    Convenient MessageSource access (for i18n)
    ApplicationEvent publication

So if you need any of the points presented on the Application Context side (other than BeanFactory), you should use ApplicationContext.

You can alos read here
and here:


Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now