This blog demonstrates how to process JSON using Spring 4 Web MVC.
Spring uses Jackson for JSON parsing. Jackson is configured to ignore extra JSON properties that do not match properties of the bean being populated at the @Controller request end-point method.
This blog demonstrates populating complex objects n levels deep thus overcoming some difficulties encountered as per many of the comments in this blog.
This provides for:
A far better user experience as there is no page load. Feedback is immediate.
Ease of development
Ease of validation handling
Support for complex forms
Code portability (think HTML5 clients and single page applications)
This tutorial demonstrates how to handle exceptions in Spring 3 Web MCV.
A Netbeans project is available for download at the bottom of this page.