InterviewSolution
| 1. |
What Are Types Of Ioc Containers? Explain Them. |
|
Answer» 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. 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. |
|