Re: Add 'Stateless JSF' to MyFaces Core? Is it really necessary?

2013-02-22 Thread Thomas Andraschko
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. smithh032...@gmail.com Mark Struberg, and to whom this may concern,

Re: Add 'Stateless JSF' to MyFaces Core? Is it really necessary?

2013-02-22 Thread Thomas Andraschko
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. smithh032...@gmail.com On Fri, Feb 22, 2013 at 7:55 AM, Thomas Andraschko

Re: Add 'Stateless JSF' to MyFaces Core? Is it really necessary?

2013-02-22 Thread Howard W. Smith, Jr.
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

Re: Add 'Stateless JSF' to MyFaces Core? Is it really necessary?

2013-02-22 Thread 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 f:view transient=true can be used to design a nice login form leveraging JSF power ?

Re: Add 'Stateless JSF' to MyFaces Core? Is it really necessary?

2013-02-22 Thread Leonardo Uribe
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