The problem is that the compiler will create the code for al objects in the classpath that implement serialiazable (which are more ore less 10000+). This results in enormous compile time and huge javascript...
absolutely not doable any more suggestions? 2009/4/15 Salvador Diaz <diaz.salva...@gmail.com> > > > perhaps can we use annotations like @gwt.typeArgs > > Those are deprecated, you should really avoid using them > > > > a simple java class containing a Map<String,Object> > > Can't you just use a Map<String, Serializable> ? If the map is going > to be travelling through RPCs you really shouldn't be putting objects > that don't implement Serializable into it. > > Cheers, > > Salvador > > > > > > 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 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 -~----------~----~----~----~------~----~------~--~---