How do I install a web application at the root of GlassFish?

This blog entry explains how to deploy an application with a "root" webcontext.