The Artima Developer Community
Sponsored Link

Java Buzz Forum
JAX-RS 2.x vs Spring MVC: Returning an XML representation of a list of objects

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
justin cater

Posts: 19616
Nickname: justin78
Registered: Mar, 2011

Justin Cater is executive editor at Java Code Geeks
JAX-RS 2.x vs Spring MVC: Returning an XML representation of a list of objects Posted: Apr 24, 2015 8:23 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by justin cater.
Original Post: JAX-RS 2.x vs Spring MVC: Returning an XML representation of a list of objects
Feed Title: Java Code Geeks
Feed URL: http://feeds.feedburner.com/JavaCodeGeeks
Feed Description: Java 2 Java Developers Resource Center
Latest Java Buzz Posts
Latest Java Buzz Posts by justin cater
Latest Posts From Java Code Geeks

Advertisement

JSON is King as it goes to all kinds of REST* APIs, but still you may need to expose multiple representations, including XML. With both JAX-RS and Spring MVC this is very simple. Actually, the only thing to do is to annotate POJOs returned from the API call with JAXB annotation and that’s it. But ...

 

Read: JAX-RS 2.x vs Spring MVC: Returning an XML representation of a list of objects

Topic: IntelliJ IDEA 14.1.2 Update is Here Previous Topic   Next Topic Topic: Things to consider before jumping to enterprise caching

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use