Open the Admin Console in a web browser if you have not done so already.
In the left pane, click the Applications node to expand it.
Click Web Applications.
You can see the list of deployed web applications, if any.
You can use the Hello application bundled with the Enterprise Server or you upload the sample you have downloaded from https://glasfish.dev.java.net/downloads/quickstart/hello.war. Do one of the following:
If you have downloaded the Hello application, click Browse in the Packaged File to Upload text box. Navigate to the directory to which you have downloaded the application.
The application appears in the Web Applications list.
To verify that it was deployed properly, in the Web Applications page, select the Hello application and click Launch.
You can deploy applications using the asadmin deploy command. You can also use the asant commands for deployment. For detailed information on deploying applications see the Sun GlassFish Communications Server Application Deployment guide.