This blog entry gives some recommendations on how to use GlassFish in demos. Some of these apply to every-day use of GlassFish.