To download a copy of the hello.war sample, go to https://glassfish.dev.java.net/downloads/quickstart/hello.war.
Click Yes to save the hello.war file.
Save the hello.war file in the directory of your choice. This document refers to this directory as sample-dir.