I'm working on a GWT application and would like to branch some logic based on whether the code is running in development mode or is live in production.
For example, when the code needs to make an AJAX call we would like to set the URL depending on mode.