In Spring MVC, class DefaultAnnotationHandlerMapping is deprecated. Documentation ( http://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/web/servlet/mvc/annotation/DefaultAnnotationHandlerMapping.html ) says:
Deprecated. in Spring 3.2 in favor of RequestMappingHandlerMapping
Why is it deprecated? What practical problems of this class were fixed in RequestMappingHandlerMapping?