The easiest solution is to place the constants values in a separate
java class file in the client package. You will need to import the
class on the server side to use it ... but it should work.
Another option is to place these constants in their own package and
import the class into both the client and the server... but you will
also need to create a new gwt.xml file for this new GWT module and
then inherit this in the main gwt.xml - which gets a little more
complicated...
The final (and least recommended method) would be to place it on the
server side ... but I find this option fairly dangerous ... if you
start importing server side classes that perform java operations that
the GWT does not support you can get yourself into trouble...
WadeC