webtier@glassfish.java.net

Re: [webtier] JSF 2.0: View scoped data should be Serializable?

From: Ed Burns <Ed.Burns_at_Sun.COM>
Date: Thu, 10 Sep 2009 10:52:41 -0700

>>>>> On Wed, 09 Sep 2009 14:22:43 -0700, Ryan Lubke <Ryan.Lubke_at_Sun.COM> said:

RL> On 9/9/09 2:02 PM, webtier_at_javadesktop.org wrote:

MH> I put some non-Serializable data into view scope and got a warning
MH> from Glassfish. But, I went back and checked the spec
MH> (JSF_20090506.pdf) and couldn't find anywhere that said that it
MH> should be Serializable. In fact, I think there needs to be more
MH> detailed discussion of view scope in general.

MH> I already make session data Serializable to support distributed
MH> sessions and because some servers store serializable session data on
MH> disk and reconstitute it when the server is restarted. But I would
MH> like some specific guidance in the spec as to why I ought to make
MH> view-scoped data Serializable as well.

Ok, I have added issue C032 to the ChangeLog [1]


[1] http://wiki.java.net/bin/view/Projects/Jsf2MR1ChangeLog

-- 
| ed.burns_at_sun.com  | office: 408 884 9519 OR x31640
| homepage:         | http://ridingthecrest.com/