While I am a fan of the decoupling pointed out by Thomas Broyer with
RequestFactory, you can still do the same thing with RPC rather easily, and
skip the need for RequestFactory.
In the projects at my office, we use Maven and the following project
structure:
- MainProject.pom
- Client-Interfaces.pom
- Client-GWT.pom (uses Interfaces)
- Server.pom (uses Interfaces)
- Web.pom
So just running the main pom will build the interfaces that are then used
by the server side code and the client side GWT. The *Web* project contains
Tomcat specific items and dictates how the *war* is packed up.
Perhaps this will work for you Mark and you can just have two client side
GWT packages.
Sincerely,
Joseph
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/tr13Sa--nhIJ.
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.