We are trying another approach at the moment. We are generating source by doing some simple transformation of the model source we want to use in the browser. At the moment it is just regexp hack but we have had some success with javaparser (
http://code.google.com/p/javaparser/) although the project seems dead.
So it doesn't do much more than change the package name and change Foo into FooProxy (if we found a ProxyFor annotation)...
So we don't need the extra layer of interfaces but the code to be shared needs to be self contained (not part of the entity class).
Anybody using a better solution?
If not any suggestions for code that can parse a level of Java the same (or better) than GWT AND then serialise that back into Java source (so IDE etc can look at the generated code)? The GWT parser would be great but no code to take the AST tree and produce Java source? The Eclipse code can do both but seems very hard to untangle from the workspace etc...
Cheers
Sam