Well, in fact the problem was ... the development mode of GWT. 
As I could not understand the problem, I tried to deploy the web app on tomcat 
and then the performances were almost the same for json and gwt serialization...
Strange ...

But the performance remains surprising : in speed tracer I compared the 
performance of the json and GWT, and surprisingly the GWT request is bigger (I 
expected it would be smaller since there is less data to transmit) but it is 
faster (?)

Mime-type       application/json
Total Bytes     6924 bytes
Request Timing  @1009ms for 33ms
Response Timing @1042ms for 11ms
Total Timing    @1009ms for 44ms

Mime-type       application/x-java-serialized-object+gwt
Total Bytes     13491 bytes
Request Timing  @6297ms for 17ms
Response Timing @6314ms for 17ms
Total Timing    @6297ms for 34ms

Bigger ? but still faster ? where is the logic ? I must be missing something ...

Ben

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2701542

Reply via email to