On 02/15/2013 09:37 PM, Vojtech Szocs wrote:
> Hi Daniel,
> 
>> > The first alternative can be implemented by using GWT RequestBuilder (for 
>> > sending the HTTP requests)
>> > and GWT overlay types (that can be generated from java POJOs).
>> > Probably best performance-wise/less data type conversions/etc; However, 
>> > basically means writing a JavaScript SDK.
> Yes, we can use RequestBuilder for making AJAX HTTP requests, but using GWT 
> overlay types is possible only if REST API fully supports JSON format. In 
> case of XML format, we would have to use GWT XMLParser to map "restapi-types" 
> entities/collections to/from XML strings, e.g. we could write GWT deferred 
> binding generators to generate such mappers from current schema.

REST API does not support JSON yet due to Resteasy JacksonProvider and JAXB 
issues.

> 


-- 

Michael Pasternak
RedHat, ENG-Virtualization R&D
_______________________________________________
Arch mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/arch

Reply via email to