myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leonardo Uribe <>
Subject Re: Add 'Stateless JSF' to MyFaces Core? Is it really necessary?
Date Fri, 22 Feb 2013 13:35:33 GMT

To be clear use UIViewRoot#setTransient(true) just save time when
the state is calculated, because it just skip that calculation. But
in MyFaces, calculate the state is quite fast, so at the end the saved
time is less than 1 or 2%. Why? because what really has an impact
over the time spent processing a request is the rendering step and
compared to that time traverse the component tree is fast. PSS
algorithm has improved this situation a lot too, because usually most
of  the view does not have associated "delta" state, so the
encryption overhead becomes small.

In few words, don't worry about call UIViewRoot#setTransient(true),
better let the code as is.


Leonardo Uribe

2013/2/22 <>:
> On 22/02/2013 14:19, Howard W. Smith, Jr. wrote:
>> Fair enough. Definitely not a concern of mine; seems not to be a real
>> concern to MyFaces Dev/users as well. :)
> Dear all,
> maybe a stupid question...
> So, a <f:view transient="true"> can be used to design a nice login form
> leveraging JSF power ?
> Best regards,
> Ludovic
> |
> |

View raw message