DispatcherServlet as the name suggests is a
servlet. So if you are using Spring beans for handling requests (MVC or Rest/Soap) then you need DispatcherServlet. You map the DispatcherServlet to request paths which you want Spring to handle. ContextLoaderListener can be used to only use dependency injection using Spring if you don't have the need for serving requests using Spring MVC/WebServices...