For data transport we use a simple java class containing a Map<String,
Object> This map is transient and we serialize it with a custom field
serializer. This works fine for most situations.

For every service gwt has a list of classes which can be Serialized
(whitelist). If my understanding is right this list is generated by the
compiler at compile time by analizing the members of a class.

But we can have classes (which ARE serializable) inside our transient map,
but gwt will not serialize this classes because of the SerializationPolicy
(these classes could not be found by the compiler at compile time).

Is there any way to extend the white list of SerializationPolicy.java ?

If I add all classes as private members to my class the members are found
and the class can be serialized, but this is anoying and we cant do this for
all classes (we dynamically decide which classes we need to transfer)

Anyone got any expierence with that?

Maybe open an issue about this?

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