Is there a way to tell programmatically at run-time whether a Google App Engine application is running locally vs. hosted? I’m looking for a way to call some custom stub code when running in a local development environment and make different calls when running hosted.
Share
You can use
com.google.appengine.api.utils.SystemPropertyin AppEngine 1.3.