Bean factory and Application context both are IOC container. But there some differences between them,
Bean factory: Bean factory provides basic management for bean and wiring of dependencies.
Application context: Application context is beanfactory++. Not only provides basic management and wiring of dependencies but also provides Spring AOP features. WebApplication context for web applications ,provides internationalizations.
It is recommends to use Application context in most of the enterprise Application development .
No comments:
Post a Comment