Is there any way to tell the gwt compiler to ignore certain methods and not complain about missing client code? I want the gwt compiler to ignore certain flagged methods entirely and not include them in the javascript compilation.
Why do I want to do this? My system uses Java serialization to persist client objects on the server. Now I need to customize the serialization process with readObject & writeObject methods and the gwt compiler complains about ObjectInputStream and ObjectOutputStream not being found in the client code. The readObject and writeObject methods are never used when executing in a client browser, only during serialization on the server to persist the objects. As an alternative, I know I can create server-side wrapper classes that can do the serialization but that then requires me to expose a bunch of my client object internals solely for the purpose of serialization, which I don't like because it 1) is a lot of work and 2) breaks my encapsulation. Thanks for any tips, 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.
