RE: Re: Re: [REVIEW/632] Server-side state saving sensitive to model changes

From: Jesse Alexander (KSFH 323) <"Jesse>
Date: Fri, 7 Sep 2007 20:20:05 +0200

hmmm you say seam stores the additional scope in the UIViewRoot...
Why not put it into a dedicated non-visual component attached to
When it is called to saveState it can use Serialization...

just my 2cents

-----Original Message-----
From: Michael Youngstrom []
Sent: Friday, September 07, 2007 6:40 PM
Subject: Re: Re: [REVIEW/632] Server-side state saving sensitive to
model changes

It's looking like Serialization by default is going to lose. :)

I just want to quickly make sure everyone is fully aware of the
problem this is solving. If I'm using server side state saving and
store an object in the view and in a later view modify that object
then all of the past views will be changed as well potentially causing
any number of hard to detect problems. Generally where immutable
stuff is stored in the view this is not a problem but with projects
like Seam using the view as an optional Scope this basically breaks
the scope's back button functionality which is the main reason why
someone would choose the PAGE scope over CONVERSATION scope in Seam.

I personally can go either way on this issue because it is a rather
irregular issue and would cause significant performance problems if
turned on but I just want to make sure everyone is aware that this
issue is not just about parity between client and server state saving
but it's also about the correct behavior of data stored in the view.

I agree though that some actual benchmark data would be useful.


On 9/7/07, Ed Burns <> wrote:
> >>>>> On Fri, 07 Sep 2007 11:32:22 +0200, "Jesse Alexander (KSFH 323)"
<> said:
> JA> +1 from me too on not making the serialization default.
Serialization is
> JA> way too costly.
> I cast my lot with Herr Jesse and Mr. Winer. I too would like to see
> quantitative rationale, other than parity with the client side model.
> Also, Herr Jesse, don't say "+1 for not making..." It would be more
> clear to say "-1". Being an unrepentant email skimmer, when I see
> on a thread, I assume you agree with the proposal.
> Thanks,
> Ed
> --
> | 156 Business Days until JavaOne 2008
> | | office: 408 884 9519 OR x31640
> | homepage: |
> | aim: edburns0sunw | iim:
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail: