Just a quick tip – generally with Wicket we want to supply our application with a way to choose between “Development” vs. “Deployment” mode automatically, so that we can get stack traces etc. during development and disable development features for deployment. Google App Engine sets a convenient JVM property to enable this -
class MyWicketApplication extends Application {
.....
private boolean isProd =
"Production".equalsIgnoreCase(
System.getProperty("com.google.appengine.runtime.environment"));
@Override
public String getConfigurationType() {
return (isProd ? "DEPLOYMENT" : "DEVELOPMENT");
}
}
Bam – Wickety GAE love!
Related posts:
Nice tip – thanks!