myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard W. Smith, Jr." <smithh032...@gmail.com>
Subject Re: FacesServlet.service() method eating too much time while serving requests (high self-time) ?!
Date Sat, 07 Sep 2013 20:36:23 GMT
On Sat, Sep 7, 2013 at 2:24 AM, Anton Gavazuk <antongavazuk@gmail.com>wrote:

> Process an incoming request, and create the corresponding response, by
> executing the request processing lifecycle.
>
> If the request and response arguments to this method are not instances of
> HttpServletRequest and HttpServletResponse, respectively, the results of
> invoking this method are undefined.
>
> This method must respond to requests that start with the following strings
> by invoking the sendError method on the response argument (cast to
> HttpServletResponse), passing the code HttpServletResponse.SC_NOT_FOUND as
> the argument.
>
> So this method is actually wrapping up all underlying processing: jsf
> actions, business services, interaction with db - thus its time is always
> the biggest
>
>
In response to OP and to demonstrate what Anton stated above, I answered
the question on stackoverflow[1] with plenty of screen captures. :)


[1] http://stackoverflow.com/a/18677667/933054

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message