Java Reference
In-Depth Information
copy of the GlassFish Server and, optionally, NetBeans IDE. To obtain the GlassFish
Server, you must install the Java EE 6 Software Development Kit (SDK), which you
can download from http://www.oracle.com/technetwork/java/javaee/
downloads/index.html . Make sure you download the Java EE 6 SDK, not the Java
EE 6 Web Profile SDK.
SDK Installation Tips
During the installation of the SDK, do the following:
• Allow the installer to download and configure the Update Tool. If you access the
Internet through a firewall, provide the proxy host and port.
• Configure the GlassFish Server administration user name as admin , and specify
no password. This is the default setting.
• Accept the default port values for the Admin Port (4848) and the HTTP Port
(8080).
• Do not select the check box to create an operating system service for the domain.
You can leave the check box to start the domain after creation selected if you wish, but
this is not required.
This tutorial refers to as-install-parent , the directory where you install the GlassFish
Server. For example, the default installation directory on Microsoft Windows is
C:\glassfish3 , so as-install-parent is C:\glassfish3 . The GlassFish Server it-
self is installed in as-install , the glassfish directory under as-install-parent . So on Mi-
crosoft Windows, as-install is C:\glassfish3\glassfish .
After you install the GlassFish Server, add the following directories to your PATH to avoid
having to specify the full path when you use commands:
as-install-parent /bin
as-install /bin
Java EE 6 Tutorial Component
The tutorial example source is contained in the tutorial component. To obtain the tutorial
component, use the Update Tool.
To Obtain the Tutorial Component Using the Update Tool
1. Start the Update Tool by doing one of the following:
From the command line, type the command updatetool .
Search WWH ::




Custom Search