BeanFactory | ApplicationContext |
---|---|
Does not support the Annotation based dependency Injection. | Support Annotation based dependency Injection.-@Autowired, @PreDestroy |
Does not support. | Can publish events to beans that are registered as listeners. |
Does not support way to access Message Bundle(internationalization (I18N). | Support internationalization (I18N) messages. |
Does not support. | Support many enterprise services such JNDI access, EJB integration, remoting. |
By default its support Lazy loading. | its By default support Aggresive loading. |
Master in Web Development Provide Interview Questions for All IT Software and Coding Language. Like: Java Collection Interview Questions, .net Interview Questions, Design & UI Interview Questions & All Type of IT Job Interview Questions.
Showing posts with label Bean. Show all posts
Showing posts with label Bean. Show all posts
Friday, March 15, 2019
[Spring Interview Question] - Difference between BeanFactory and ApplicationContext in Spring?
Labels:
Application Context,
Bean,
BeanFactory,
Context,
j2ee,
java,
Spring,
Spring Framework
Location:
Rajkot, Gujarat, India
Subscribe to:
Posts (Atom)