Dear everybody, I am often facing the problem that I need to "duplicate" my domain classes in order to use them on the client-side, essentially stripping out code that cannot be run on the client-side. In the end I have two classes (or even hierarchies) to maintain and my client-side code is rather "anemic" [1].
I some special cases it would be sufficient for me to just tell the GWT compiler "don't compile these particular methods (as I won't be using them on the client-side)". Is there a way to achieve this? (I know that I can control what the compiler includes an per-source code file level using <source path=...>.) Are there any general approaches to avoid having two class hierarchies/ an anemic client-side? Thanks, Kaspar [1] http://en.wikipedia.org/wiki/Anemic_Domain_Model -- 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.