Re: Help: Reusing RPC serialization between GWT and Java Applet

2011-02-07 Thread Michael.Krog
Cool. Before your reply I prototyped a hack on the requestbuilder and it kinda works - but its totally hacked. :) I think Im getting the hang of how it all adds up in GWT-RPC, and your suggestion really makes sense. Im gonna give the extendes ProxyGenerator a try. On 7 Feb., 20:26, Colin Alwor

Re: Help: Reusing RPC serialization between GWT and Java Applet

2011-02-07 Thread Colin Alworth
Every Async impl on the client gets a serializer instance to go with it - crack open the generated code to see what it comes up with. It is possible to subclass the ServiceInterfaceProxyGenerator to provide your own custom subclass of ProxyCreator which instead of setting the impl's superclass a

Help: Reusing RPC serialization between GWT and Java Applet

2011-02-07 Thread Michael.Krog
Hi. Im contributing to gwtai which is an Applet-wrapper for GWT. Because of the nature of applets it is only possible to use String as parameters when calling methods on an applet from javascript. Therefore im trying to reuse GWT-RPC's serialization when calling Applet-methods from GWT. It looks