Tuning Web Applications
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access