The sample application must be available before you start this task. To download the sample, see Obtaining a Sample Application. At least one GlassFish Server domain must be started before you deploy the sample application.
Launch the Administration Console by typing the following URL in your browser:
Click the Applications node in the tree on the left.
The Applications page is displayed.
Click the Deploy button.
The Deploy Applications or Modules page is displayed.
Select Packaged File to be Uploaded to the Server, and click Browse.
Navigate to the location in which you saved the hello.war sample, select the file, and click Open.
You are returned to the Deploy Applications or Modules page.
Specify a description in the Description field, for example:
Accept the other default settings, and click OK.
You are returned to the Applications page.
Select the check box next to the hello application and click the Launch link to run the application.
The default URL for the application is:
Refer to the Administration Console online help for additional information.