[rest-practices] support for xml in rest api

Bill Burke bburke at redhat.com
Mon Jun 28 17:28:53 UTC 2010


 From a Java perspective, there are pro's and con's.

* Java has nice tools from which you can generate Java classes from XML 
schema
* JAXB is good if you don't want to extend it with custom functionality
* The Jackson JSON plugin works pretty well, they do have some degree of 
JSON-schema support, but I don't know if they have a code generator.



Dmitri Dolguikh wrote:
> Hey everybody,
> 
> In candlepin (candlepin.fedorahosted.org) project we are considering 
> dropping support for xml representation of resources in favour of 
> json-only. What's your opinion?
> 
> Thanks,
> -Dmitri
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> rest-practices mailing list
> rest-practices at redhat.com
> https://www.redhat.com/mailman/listinfo/rest-practices

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com




More information about the rest-practices mailing list