I am doing some analysis of page response speed and have discovered that
when I include the Spring requestContextFilter response time is much slower.

Without the requestContextFilter response time is 6 seconds.  With the
requestContextFilter response time is 18 seconds.

I am using MyFaces 1.1.4, Facelets 1.1.11, ADF 10.1.3.1 on Weblogic 8.1sp5.
The pc is a a 1.5GHz pentium.

Here is an extract of my web.xml:

   <!-- Add support for session and request scope Spring beans -->
   <filter>
       <filter-name>requestContextFilter</filter-name>
       <filter-class>org.springframework.web.filter.RequestContextFilter
</filter-class>
   </filter>

   <!--  required for ADF -->
   <filter>
       <filter-name>adfFaces</filter-name>
       <filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter
</filter-class>
   </filter>

   <!-- Add support for session and request scope Spring beans -->
   <filter-mapping>
       <filter-name>requestContextFilter</filter-name>
       <servlet-name>Faces Servlet</servlet-name>
   </filter-mapping>

   <!--  required for ADF -->
   <filter-mapping>
       <filter-name>adfFaces</filter-name>
       <servlet-name>Faces Servlet</servlet-name><!-- this must match your
faces servlet name -->
   </filter-mapping>


Maybe I should post this to the Spring forum, but I decided to post it here
first as I wondered if the ADF filter or JSF architecture was having an
affect.

Thanks

Martin

Reply via email to