Hi Peter,

There are various ways to deal with XML. Which one is best mostly depends on
your actual needs/requirements. The default
DomRepresentation/SaxRepresentation might be all that you need, if you want
for example to simply extract content using XPath. 

If you need a more complete Object to XML mapping, in could also try the
upcoming support for JAXB in Restlet 1.1 M1. See more info on JAXB at:
https://jaxb.dev.java.net/

Best regards,
Jerome  

> -----Message d'origine-----
> De : news [mailto:[EMAIL PROTECTED] De la part de Peter Sole
> Envoyé : samedi 18 août 2007 05:51
> À : [email protected]
> Objet : xml representation
> 
> It's been couple of days since I have started reading about 
> restlet api. I am 
> implementing a service where my restlet/resource gets normal 
> HTTP POST and 
> after some processing I am suppose to return xml message 
> back. I was looking 
> at restlet api and xmlWriter class etc. I also read that 
> restlet has extensive 
> support to xml. A co-worker told me about a 
> http://simple.sourceforge.net/ 
> which allows serilization/deserialization of xml into java 
> objects. Since I am 
> new to both I was wondering which approch is better? whether 
> restlet's api is 
> enough to do the same of I have to use some third party xml api's?
> 
> Thanks for help,
> 

Reply via email to