If Java Web Start is enabled, the default URL for an application is as follows:
The default URL for a stand-alone application client module is as follows:
If the context-root or module-id is not specified during deployment, the name of the EAR or JAR file without the extension is used. For an application, the relative path to the application client JAR file is also included. If the application or module is not in EAR or JAR file format, a context-root or module-id is generated.
Regardless of how the context-root or module-id is determined, it is written to the server log. For details about naming, see Naming Standards.
To set a different URL for an application client, use the context-root subelement of the java-web-start-access element in the sun-application-client.xml file.
If Java Web Start is not enabled for the application client, follow these steps.
Copy the ACC package JAR file to the client machine and unjar it.
This file is located in the appclient/appserv/lib/appclient directory by default if you used the package-appclient script.
This file is located in appclient/appserv/bin by default if you used the package-appclient script.
Copy the client JAR file to the client machine.
You are now ready to execute the client.
For more detailed information about Java Web Start and the package-appclient script, see Chapter 11, Developing Java Clients, in Sun GlassFish Enterprise Server v2.1.1 Developer’s Guide.