Alyxandor

Your advise about using doubles for identifiers is terrible. By
definition double and float are approximations of a value and not
necessarily the exact correct value. The reason gwt kings are slower
is because they don't drop bits and change value for large values.
Following this advice is just going to cause headaches when they try
and use an id and things go wrong back on the server or worse yet
return invalid data.
Hth

On May 15, 11:41 am, Alyxandor <a.revolution.ultra.b...@gmail.com>
wrote:
> Does User implement Serializable or IsSerializable?  You have to use
> at least one to tell GWT that you want to send it over the wire.
>
> I'm having a little trouble understanding your situation, please post
> you file structure, and if possible, User.java or your .gwt.xml
> modules...
>
> /foo/bar/Common.gwt.xml
> /foo/bar/client/User.java
> /foo/bar/client/Save.java
> /foo/bar/client/SaveAsync.java
> /foor/bar/server/SaveImpl.java
>
> ...And so forth...
>
> Also, if you can, avoid Long.  It's faster in Java, but MUCH slower in
> GWT...  Because javascript has only one number type, and it's double.
> Long requires emulation and you {your users} pay for it every time you
> read a long value.  If your datastore or whatever needs Long, just use
> a double and do the casting on your server...  Clients are more
> important!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to