Example code accompanying the blog post "Combining JSON and XML in RESTful web services with Spring" at http://software.sawano.se/2012/03/combining-json-and-xml-in-restful-web.html To run the integration tests included in this example with Maven use: mvn verify To deploy the web service on a jetty use: mvn jetty:run The web service is now available on http://localhost:9090