In GlassFish entity caching is done by the persistence provider. You need to consult the provider's documentation on how to setup or tune their caching strategies.
-marina
[Message sent by forum member 'mvatkina' (mvatkina)]
http://forums.java.net/jive/thread.jspa?messageID=253493