The easy way to do this is to consolidate that shared code into a
particular package ... something like com.foo.bar.shared
Then create a new GWT.xml file com/foo/bar.Shared.gwt.xml and add
<source path="shared"/>
your module containing your entry point would then add <inherits
name="com.foo.bar.Shared"/>
and your server code would just reference those classes like normal.
The trick here is to remember to only place translatable code in
com.foo.bar.shared. Since it is going to be compiled to javascript, it
will have to abide by all of the rules of client code.
-jason