For more information on Java performance, see Java Performance Documentation and Java Performance BluePrints.
For details on optimizing EJB components, see Seven Rules for Optimizing Entity Beans
For details on profiling, see Profiling Tools in Sun GlassFish Enterprise Server 2.1 Developer’s Guide
For more details on the domain.xml file see Sun GlassFish Enterprise Server 2.1 Administration Reference.