Hello all,
I am trying to execute a remoting call from a GWT client to one of the
RemoteServiceServlets I've built.  The object I want to send across
the wire looks like this:

public class MyObject
  implements IsSerializable
{
   private HashMap<String, Object> _properties = new HashMap<String,
Object>();
}

The hash map contains a mix of Strings, Dates and integers, as well as
child objects that derive from MyObject.

When I try to send it across the wire, I get a
SerializationException.  If I mark the HashMap as transient, the
object serializes fine.  Clearly there is something with serializing
this HashMap which is not working properly.

Is there a way to fix this, or a recommended practice to have sparse
sets of data serialized over the wire?

Thanks in advance,
Cheers,
Andre

--~--~---------~--~----~------------~-------~--~----~
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