Suppose I create an application context using ContextLoaderListener. And I am using Spring MVC. The DispatcherServlet is also having its WebApplicationContext. What is the relationship between these two application contexts.
Are there 2 Spring containers one created by ContextLoaderListener and another by DispatcherServlets? If yes, then if the beans in the rootAppplicationContext are inherited by the WebApplicationApplication, do they live in 2 Containers?