Blog About Contact

Wicket On Google App Engine (GAE) - Deployment Configuration

Published Sun, 7 Mar 2010 • 2 comments

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 = 

    public String getConfigurationType() {
        return (isProd ? "DEPLOYMENT" : "DEVELOPMENT");

Bam - Wickety GAE love!

About the Author

Richard Nichols is an Australian software engineer with a passion for making things.

Follow him on twitter or subscribe by RSS or email.

You might also enjoy reading -

Discuss / Comment

There are 2 comments.

Add a comment

  • {{e.error}}

Thanks for your comment!/

Valid email address required.
Posting message, please wait...