Use a "dynamic host page": 
http://www.gwtproject.org/articles/dynamic_host_page.html

On Monday, November 11, 2013 7:47:22 PM UTC+1, [email protected] wrote:
>
> Hello,
>
> What is the best practice for injecting/configuring environment-specific 
> settings inside GWT-generated JavaScript?  For example, we have a series of 
> JSONP services hosted across a series of servers, and the hostnames/ports 
> of those servers are different across our development/test/production 
> environments.  My guess is `DataResource` is the preferred method, however 
> adding another round-trip to the server seems like a bit of overkill.  Is 
> there another way?
>
> Thanks in advance,
> Geoff.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to