Search this list for a couple of solutions that allow you to reuse the
client-side interfaces.  You will need to make sure that both the
properties files and the interfaces exist on both the client and
server sides.

I opted to simply use ResourceBundle and make my properties files
available on the server-side.  The only other thing you need to take
care of (in both scenarios) is knowing what Locale to use.  You
usually want to set it according to the locale that the client is
using, which doesn't necessarily correspond to the same locale that
the server-side JVM is running as.


On Dec 21, 10:07 am, omsrobert <[email protected]> wrote:
> I need to use the same localization mappings on the server as on the
> client.  I can't instantiate Constants server-side.  I suppose one
> method would be to read in the raw properties file and do a key lookup
> but I'd like to reuse the Java method interface if I can.  Ideas???

--

You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
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.


Reply via email to