Spring 3 JSON with MVC
Posted
by stevedbrown
on Stack Overflow
See other posts from Stack Overflow
or by stevedbrown
Published on 2009-10-21T16:28:36Z
Indexed on
2010/05/12
7:14 UTC
Read the original article
Hit count: 558
Is there a way to build Spring Web calls that consume and produce application/json formatted requests and responses respectively?
Maybe this isn't Spring MVC, I'm not sure. I'm looking for Spring libraries that behave in a similar fashion to Jersey/JSON. The best case would be if there was an annotation that I could add to the Controller classes that would turn them into JSON service calls.
A tutorial showing how to build Spring Web Services with JSON would be great.
EDIT: I'm looking for an annotation based approach (similar to Jersey).
EDIT2: Like Jersey, I am looking for REST support (POST,GET,DELETE,PUT).
EDIT3: Most preferably, this will be the pom.xml entries and some information on using the spring-js with jackson Spring native version of things.
© Stack Overflow or respective owner