Book Image

Oracle ADF Faces Cookbook

By : Amr Gawish, Amr Ismail Gawish
Book Image

Oracle ADF Faces Cookbook

By: Amr Gawish, Amr Ismail Gawish

Overview of this book

Table of Contents (18 chapters)
Oracle ADF Faces Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Applying general advices regarding performance


There are several general advices to look at when you want to maximize the performance and scalability of your application. In this recipe, we will have a spotlight over them.

These are the first things you want to look at when you start planning your application for production. Once these recommendations are applied, rest assured that you have followed the best practices for performance tuning and scalability. This recipe doesn't require an application.

How to do it…

In order to understand different general optimization recommendations, perform the following steps:

  1. Avoid adding inline JavaScript in the JSF or JSPX pages.

  2. Whenever you have a custom servlet, configure the JSP timeout parameter for it by applying the following syntax in web.xml:

    <servlet>
     <servlet-name>
       MyCustomServlet
       <init-param>
         <param-name>jsp_timeout</param-name>
         <param-value>10</param-value>
       </init-param>
     &lt...