Hi Harald, My initial idea was to not use the ConverterService at runtime in GWT but instead provide something similar at compilation time.
Instead of using ObjectRepresentation<T> in the proxy code, we would use PiritiXmlRepresentation<T> or PiritiJsonRepresentation<T> instead. This would be based from converters available at compilation time and maybe additional parameters. Hope this clarifies! Addition of JSON support to Piriti would be awesome. Your library could be leveraged by other projects, and shipping an extension for it with Restlet would give it a good exposure :) Best regards, Jerome Louvel -- Restlet ~ Founder and Technical Lead ~ http://www.restlet.org Noelios Technologies ~ http://www.noelios.com -----Message d'origine----- De : Harald Pehl [mailto:[email protected]] Envoyé : mardi 23 février 2010 09:56 À : [email protected] Objet : RE: XML mapper for GWT Hi Jerome, sounds good! I looked into "ClientProxyGenerator.generateMethod()" and noticed that the conversion is currently done using ObjectRepresentation<T>. If I get it right you want to replace this by the client side ConverterService? Do you already have something in place or are you in the design phase? Let me know as soon as you have something I can contribute to. The idea to extend Piriti to also support other formats like JSON definitely makes sense. I will add this to the next major release of Piriti and let you know when it is ready to use. Best regards, Harald Pehl ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=24508 98 ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2452521

