I am 99% sure that if you don't use the method on the client the GWT compiler will erase it. Regards
2010/2/4 Axel Rauschmayer <[email protected]> > Use case: a data object has some methods that only the server needs. > > I'm currently using my own tool to create patched versions of a class > with server-only code. It removes methods annotated with @GwtIgnore > and places the result so that it overrides the server version whenever > GWT is involved. > > Is this the best way of solving this problem? > > Maybe inheritance can be used (adding the additional methods to a > server-only subclass), but that does not solve this issue if an > inheritance chain is involved and several members of that chain have > server-only code. > > Axel > > -- > 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]<google-web-toolkit%[email protected]> > . > 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 [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.
