Analyzing Performance Impact from Customization

8-2 Oracle Fusion Middleware Performance and Tuning Guide

8.2 Oracle ADF View Performance

Oracle ADF Faces Rich Client RC is a set of standard JSF components that includes Ajax Asynchronous JavaScript and XML functionality. While Ajax enables rich client-like applications to run on standard internet technologies, JSF provides server-side control, which reduces the dependency on an abundance of JavaScript often found in typical Ajax applications. Using Apache MyFaces Trinidad as the foundation, Oracle ADF Faces RC adds Ajax functionality, bringing rich Internet application RIA capabilities to JSF applications. Before building, configuring, and deploying ADF applications, review the following topics to achieve optimal performance: ■ Oracle ADF Faces Configuration and Profiling ■ Performance Considerations for ADF Faces ■ Tuning ADF Faces Component Attributes ■ Performance Considerations for Table and Tree Components ■ Performance Considerations for autoSuggest ■ Data Delivery - Lazy versus Immediate ■ Performance Considerations for DVT Components

8.2.1 Oracle ADF Faces Configuration and Profiling

This section discusses the configuration and profiling concepts of the ADF Faces. Configuration options for Oracle ADF Faces are set in the web.xml file. Most of these have default values that are tuned for performance. Table 8–1 describes some of these configuration options. Table 8–1 ADF Configuration Options Parameter Description org.apache.myfaces.trinidad.resourc e.DEBUG Controls whether output should be enhanced for debugging or not. This parameter should be removed or set to False. oracle.adf.view.rich.CHECK_FILE_ MODIFICATION Controls whether ADF faces check for modification date of JSP pages and discard any saved state if the file is changed. This parameter should be removed or set to False. oracle.adf.view.rich.CLIENT_STATE_ METHOD Specifies which type of saving all or token should be used when client-side state saving is enabled. The default value is token. oracle.adf.view.rich.LOGGER_LEVEL Sets the log level on the client side. The default value is OFF. This parameter should be removed or set to False. oracle.adf.view.rich.ASSERT_ENABLED Specifies whether to process assertions on the client side. The default value is OFF. This parameter should be removed or set to False. Oracle Application Development Framework Performance Tuning 8-3

8.2.2 Performance Considerations for ADF Faces

Table 8–2 provides configuration recommendations that may improve performance of ADF Faces: Note: When you are profiling or measuring client response time using the Firefox browser, ensure that the Firebug plug-in is disabled. While this plug-in is very useful for getting information about the page and for debugging JavaScript code on the page, it can impact the total response time. For more information on disabling the Firefox Firebug plug-in, see the Firefox Support Home Page at http:support.mozilla.comen-USkb .