What's new in Spring MVC 3.2
summary
Spring MVC 3.2 adds Servlet 3 async request support with Callable and DeferredResult (thread-pool execution, JMS/AMQP listeners, configurable async task executors and timeouts), introduces content negotiation strategies (path-extension-first in Java config, accept-header fallback), formalizes REST error handling with @ControllerAdvice and a pluggable HandlerExceptionResolver for JSON error bodies, enables Matrix variables, adds a generic message converter + ParameterizedTypeReference, and ships a MockMvc fluent API for fast dispatcher-based controller tests; chat and Redis samples demonstrate end-to-end behavior.
AI-written summary · about
chapters (9)
- 0:00Introduction to Spring MVC 3.2
- 6:12Async support in Spring MVC
- 27:50Async support demo
- 39:10Error handling in REST APIs
- 56:58Content negotiation strategies
- 1:01:34Matrix variables in Spring MVC
- 1:08:41Testing controllers with MockMvc
- 1:15:51Other improvements in 3.2
- 1:20:11Q&A








