Andrius Juozapaitis schrieb:

> I have a crawling suspicion, the server tries to serialize the
> original class, and the client gets additional object reference int
> the stream, that it doesn't know how to handle. What is the correct
> way to solve this problem, apart from rewriting the library in
> question to get rid of object references?

Use wrapper-classes containing only the values you need in your
GWT-application. The server creates these objects out of the
server-side instances and set the values when received from the
client. It's more or less the same as you already did but with
the difference that you don't rely on the "intelligence" of
the compiler but take that into your own hands.

Alternatively you might check out the ability to use your own
Serializer/Deserializer. But that I haven't done, yet so I
can't tell you more about that.


Regards, Lothar

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to