Re: Add 'Stateless JSF' to MyFaces Core? Is it really necessary?
Hi 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. regards, Leonardo Uribe 2013/2/22 l.pe...@senat.fr : > 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 can be used to design a nice login form > leveraging JSF power ? > > Best regards, > > Ludovic > | > | AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT. > | >
Re: Add 'Stateless JSF' to MyFaces Core? Is it really necessary?
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 can be used to design a nice login form leveraging JSF power ? Best regards, Ludovic | | AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT. |
Re: Add 'Stateless JSF' to MyFaces Core? Is it really necessary?
Fair enough. Definitely not a concern of mine; seems not to be a real concern to MyFaces Dev/users as well. :) On Fri, Feb 22, 2013 at 8:15 AM, Thomas Andraschko < andraschko.tho...@gmail.com> wrote: > AFAIK UIViewRoot#setTransient(true) is defined in the specs. > Maybe they implemented more features dependent on this flag, don't know. > Someone should check there code :) > > 2013/2/22 Howard W. Smith, Jr. > > > On Fri, Feb 22, 2013 at 7:55 AM, Thomas Andraschko < > > andraschko.tho...@gmail.com> wrote: > > > > > This isn't exactly stateless, the viewRoot needs still to be created > > every > > > request. The state just won't be saved anymore. > > > > > > > So, is this really a performance enhancement for Mojarra's important > > performance issue/JIRAs? Is it (the performance) similar to a non-AJAX > > response and update to the (xhtml) page...or similar to a Full Page > Refresh > > (FPR) ? > > > > > > > This can be done via UIViewRoot#setTransient(true) with MyFaces, too. > > > > > > > Interesting. Of course, MyFaces already has this built-in and/or > addressed. > > :) > > >
Re: Add 'Stateless JSF' to MyFaces Core? Is it really necessary?
AFAIK UIViewRoot#setTransient(true) is defined in the specs. Maybe they implemented more features dependent on this flag, don't know. Someone should check there code :) 2013/2/22 Howard W. Smith, Jr. > On Fri, Feb 22, 2013 at 7:55 AM, Thomas Andraschko < > andraschko.tho...@gmail.com> wrote: > > > This isn't exactly stateless, the viewRoot needs still to be created > every > > request. The state just won't be saved anymore. > > > > So, is this really a performance enhancement for Mojarra's important > performance issue/JIRAs? Is it (the performance) similar to a non-AJAX > response and update to the (xhtml) page...or similar to a Full Page Refresh > (FPR) ? > > > > This can be done via UIViewRoot#setTransient(true) with MyFaces, too. > > > > Interesting. Of course, MyFaces already has this built-in and/or addressed. > :) >
Re: Add 'Stateless JSF' to MyFaces Core? Is it really necessary?
This isn't exactly stateless, the viewRoot needs still to be created every request. The state just won't be saved anymore. This can be done via UIViewRoot#setTransient(true) with MyFaces, too. 2013/2/22 Howard W. Smith, Jr. > Mark Struberg, and to whom this may concern, > > Please see my questions[1] and respond here and/or there in PrimeFaces > community forum. > > I'm no longer a Mojarra user, but somewhat of a birdie sent word in my > email inbox this morning about Mojarra 2.1.19 having stateless JSF. So, I > wanted to see what MyFaces developers/community has to say on the topic. > > Thanks, > Howard > > [1] http://forum.primefaces.org/viewtopic.php?f=3&t=19101&p=91071#p91071 >