Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

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 extra bandwidth during replication.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint