jsr372-experts@javaserverfaces-spec-public.java.net

[jsr372-experts] Re: stateless views

From: arjan tijms <arjan.tijms_at_gmail.com>
Date: Thu, 19 Mar 2015 15:57:53 +0100

Hi,

On Thu, Mar 19, 2015 at 3:18 PM, Kito Mann <kito.mann_at_virtua.com> wrote:

> As usual, the stateful nature of views is causing some issues in an app
> I'm working on. Is there any particular reason that @ViewScoped beans can't
> be used with stateless views? I think the only reason we have that
> limitation is because of where they are stored, which could be changed...
>

If I'm not mistaken that location has already been changed, has it not?

@ViewScoped beans used to be stored in the view state, which caused several
timing issues. Since then it has been moved to the session.

Kind regards,
Arjan Tijms



>
> ___
>
> Kito D. Mann | @kito99 | Author, JSF in Action
> Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
> http://www.JSFCentral.com | @jsfcentral
> +1 203-998-0403
>
> * Listen to the Enterprise Java Newscast: *http://
> <http://blogs.jsfcentral.com/JSFNewscast/>enterprisejavanews.com
> <http://ww.enterprisejavanews.com>*
> * JSFCentral Interviews Podcast:
> http://www.jsfcentral.com/resources/jsfcentralpodcasts/
> * Sign up for the JSFCentral Newsletter:
> http://oi.vresp.com/?fid=ac048d0e17
>