You can either create an abstract Serializable class, and subclass all
possible classes that can be sent back, ie List<MySuperClass>, or go
through the arduous task of creating a custom serializer. As walden
mentioned, the former is a much better solution, not only making your
code cleaner and less error prone, but allowing the GWT compiler to do
a much better job at optimizing. If you aren't more specific than
"Object", the generated RPC serializer has no idea what potential
objects may get sent through, and so has to include serialization code
for everything.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---