Deploying applications to GlassFish 3
In this section, we discuss the application deployment features of GlassFish, and then introduce the tools we use to deploy and configure applications.
Application deployment features
The application deployment features are explained in the following sections.
Directory based deployment
Traditionally the most common mechanism to deploy a Java EE application is to create an appropriate archive file, such as a WAR file for web applications, and then deploy the archive to the application server. Besides this standard deployment approach, GlassFish also allows you to deploy an application in its exploded directory structure (directory deployment), as long as you specify where the server can load the application from upon deployment.
Note
According to the GlassFish documentation, if you are deploying a directory on a mapped drive in Windows, the user running the GlassFish Server must be the same user who assigned the mapped drive. Otherwise, GlassFish cannot...