Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
There are several things application developers can do to enhance web application performance, as described in the following sections.
Disable Page Checks
You can disable servlet and JSP page checks by setting Production Mode to true. By default, this sets the page-check-seconds and servlet-reload-check-secs parameters to a default value of –1.
Manage HTTP Sessions Efficiently
Be judicious about what you store in your HTTP session: the less memory you require for each active session, the less heap memory you will consume and the less information that will need to be replicated if you are using high availability. Be careful about indirectly referencing large data structures that will then take up lots of heap and require extra bandwidth during replication.