By alexismp on Feb 01, 2012
The list of code samples is pretty long and a good complement to the Java EE 6 Tutorial.
Note you can also access these samples from any GlassFish install (not just from the SDK) by adding the missing repository using :
% <install-dir>/bin/pkg set-authority -O http://pkg.sun.com/javaeesdk/6/release/ JavaEE6SDK
% <install-dir>/bin/pkg list -a | grep samples
javaee-samples-build (JavaEE6SDK) 1.0-4 known ----
javaee-samples-full (JavaEE6SDK) 1.0-4 known ----
javaee-samples-web (JavaEE6SDK) 1.0-4 known ----