Make sure to follow the directions for GlassFish 3. (They are different for GlassFish 2.)
Briefly, just include in your class path the gf-client.jar file from the modules directory of the GlassFish 3 installation. Make sure to read the other suggestions in the FAQ to look up the bean correctly.