1

Possible Duplicate:
New to Spring - BeanFactory vs ApplicationContext?

Why we always use the term "spring applicationcontext" when we talk about the spring application deployed in some app server. Why not bean factory.

Community
  • 1
  • 1
Sunny Gupta
  • 6,929
  • 15
  • 52
  • 80

1 Answers1

3

Because the concrete implementation used by the app is also an instance of ApplicationContext, which extends BeanFactory.

JB Nizet
  • 678,734
  • 91
  • 1,224
  • 1,255
  • then why there is lot of discussion about bean factory and applicationcontext.(which one to use and which one not to use) I am new to spring so pardon me if I asked something wrong – Sunny Gupta Jan 22 '12 at 15:43
  • If you're new to Spring, read its documentation: http://static.springsource.org/spring/docs/3.1.x/spring-framework-reference/htmlsingle/spring-framework-reference.html#beans – JB Nizet Jan 22 '12 at 15:47