There are a number of areas and layers to tune in a webapp, and it's always best to do optimization after using a profiler. We may pick up a license from YourKit .