Tuesday, 14 March 2017

What are types of IoC containers? Explain them ?

There are two types of IoC containers:
  • Bean Factory container: This is the simplest container providing basic support for DI .The BeanFactory is usually preferred where the resources are limited like mobile devices or applet based applications
  • Spring ApplicationContext Container: This container adds more enterprise-specific functionality such as the ability to resolve textual messages from a properties file and the ability to publish application events to interested event listeners.

No comments:

Post a Comment