I've successfully edited and deployed Spring's sample application, Petclinic. Petclinic-servlet.xml
uses the beans/spring classes listed below:
My question is how do you know which beans/classes your
servlet needs? For example, I'm creating a Spring servlet from scratch - How would I know that Spring needs, for example, the ContentNegotiatingViewResolver configured? What document should I read that would lists all the Spring beans that must be implemented if you want feature x in your servlet?
org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter
org.springframework.web.servlet.handler.SimpleMappingExceptionResolver
org.springframework.web.servlet.view.ContentNegotiatingViewResolver
org.springframework.web.servlet.view.BeanNameViewResolver
org.springframework.web.servlet.view.InternalResourceViewResolver
org.springframework.samples.petclinic.web.VisitsAtomView
org.springframework.web.servlet.view.xml.MarshallingView