So there you are: You’ve started working on your state-of-the-art Java EE application, GlassFish is your application server of choice and it’s time to set up automatic deployment of the application to your as-equivalent-to-production-as-possible staging environment for periodical stress testing of nightly builds. But should you do your testing on GlassFish configured as it comes out of the box?
Probably not. A key to successful stress testing is to tune your GlassFish installation with the same configuration as you would in your production environment. Without an identical configuration, the value of the stress tests will drop dramatically; even if your application passes the tests with flying colors and ticker-tape parades on your staging platform, you might still crash and burn miserably in production. Read more