add a sample with glassfish