How can I get server code to handle rpc requests without having to perform gwt compilation on the server code? The standard gwt RPC mechanism isn't happy when it doesn't have an rpc white list for a serializable class.
Can I generate my own gwt.rpc white list? Is there a way to override the SerializationPolicy? I have 2 separate client gwt modules that make rpc calls to server code. Each client module is simply a different version of a client UI, one for a browser extension and one for a plain web page. Each of the 2 client modules inherits a parent module that contains common code. Both clients talk to the same server webapp. The client modules should be deployable independent of the running server code. The server code handles rpc requests and needs to send gwt serializable objects to the client. My problem is that the server code can't handle rpc requests without gwt compilation because the gwt.rpc serialization lists don't get generated and the server spits out an IncompatibleRemoteServiceException. I also made sure all the gwt serializable classes implement IsSerializable, but I ran into problems with passing standard Java collections that aren't IsSerializable. Also I tried creating a dummy entry point and doing gwt compilation on the server code, but the gwt.rpc files do not get generated. How does the gwt compiler generate the gwt.rpc files? My server code structure contains all the necessary Serializable client classes. Does gwt compilation actually traverse my code and see which classes are used in rpc calls? Any pointers to documentation about gwt compilation would be appreciated. I found the basic stuff but nothing on the gwt.rpc file generation. Thanks, Peter --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
