I am trying to understand the plumbing between a Spring framework container and a Servlet. I am just getting started and believe that a Spring MVC application can work with servlets, portlets etc.,
When a spring application using servlets is launched, I believe the application's world begins with the creation of a spring container, whose main function (not main exactly, but something similar) creates the beans, stitches them up etc., It also then creates a servlet, the DispatcherServlet, which starts accepting connections and routes requests to other controllers in the spring application. Since the spring container does not actively manage the servlet, the DispatchServlet cannot be considered to be part of the spring container. Is the above understanding of mine correct ?
It would be great if anyone can shine more light on the plumbing between Spring framework and (say) and embedded servlet container such as Tomcat/getty. Thank You !