The GlassFish Server is capable of delivering very high performance, as shown in the benchmark results (http://www.spec.org/jAppServer2004/results/jAppServer2004.html). In order to deliver the desired performance, we need to perform careful tuning to achieve an optimal production environment for our applications. Typically, tuning GlassFish for performance requires us to tune all the involved areas of the GlassFish Server environment including any applications, the application server, the JVM, the operating system, and the underlying hardware system. This makes performance tuning a very diverse topic. The official GlassFish documentation set (http://docs.sun.com/app/docs/prod/gf.entsvr.v21) contains the multiple documents dedicated to tuning, such as the performance tuning guide, the deployment planning guide, and the h igh availability administration guide and so on.
Given such a diverse topic, it is impossible to write a single chapter to cover all...