The tutorial example source is contained in the tutorial component. To obtain the tutorial component, use the Update Tool.
Start the Update Tool.
Expand the GlassFish v3 node.
Select the Available Add-ons node.
From the list, select the Java EE 6 Tutorial checkbox.
Click Install.
Accept the license agreement.
After installation, the Java EE 6 Tutorial appears in the list of installed components. The tool is installed in the as-install/docs/javaee-tutorial directory. This directory contains two subdirectories, docs and examples. The examples directory contains subdirectories for each of the technologies discussed in the tutorial.