Great idea! It should work on GAE too using UrlFetch api to talk with the code server.
Could you share some pieces of code, please? -- Inviato con Sparrow (http://www.sparrowmailapp.com/?sig) Il giorno giovedì 14 giugno 2012, alle ore 11:33, Paul Robinson ha scritto: > On 13/06/12 18:53, Andrea Boscolo wrote: > > I can confirm that copying the CodeServer's .gwt.rpc files in the local war > > dir, works but it's a pain: every time they change, they need to be copied. > > There's an alternative to copying gwt.rpc files. I've changed my app so that > when it looks for the serialization policy, and it can't find it, it will ask > the code server for it. You just need to parse the module base URL to get the > module name, and then use the strong name provided to generate the > appropriate URL, something like: > http://localhost:9876/modulename/strongname.gwt.rpc > > All I need to do now is to add the codeserver URL as a parameter in web.xml > (http://web.xml) so that this feature can be enabled/disabled so it doesn't > happen in production. > > I don't know whether this technique would work on GAE as well. > > Paul > > -- > 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 > (mailto:google-web-toolkit@googlegroups.com). > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com > (mailto:google-web-toolkit+unsubscr...@googlegroups.com). > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- 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.