Template for Spring 4 MVC + jQuery Ajax + Jackson2, using Maven build tool.
$ git clone https://github.com/mkyong/spring4-mvc-ajax-example
$ mvn jetty:run
Access http://localhost:8080/spring4ajax
$ mvn eclipse:eclipse
Please refer to this article Spring 4 Ajax Example