Ahhh... thank you Martin. So if I understand you correctly the model classes 
should be ok because they rebuild their state from one stored in the session. 
So, provided this is true, even using server side state saving, JSF would be 
good in a cluster. (Perhaps I'll paw through some of the source code so I can 
sleep better, but this would make perfect sense ;^) 

Langley

-----Original Message-----
From: Martin Marinschek [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 10, 2005 10:56 AM
To: MyFaces Discussion
Subject: Re: Anyone know why the DataModels aren't Serializable?


clustering works by handing the session over to a new server which
means that everything which is in the session needs to be
serializable, not the JSF components themselves (they are building
upon the serialized state, they don't need to be serializable
themselves).

regards,

Martin


On Thu, 10 Mar 2005 09:20:29 -0600, Jonathan Eric Miller
<[EMAIL PROTECTED]> wrote:
> Is clustering currently supported by JSF? I want to say it isn't, but, I've
> never setup a cluster, so, I couldn't say. I would assume that everything
> would need to be Serializable for that to work...
> 
> Jon
> 
> ----- Original Message -----
> From: "John Langley" <[EMAIL PROTECTED]>
> To: "MyFaces Discussion" <[email protected]>;
> <[EMAIL PROTECTED]>
> Sent: Tuesday, March 08, 2005 12:59 PM
> Subject: RE: Anyone know why the DataModels aren't Serializable?
> 
> > However, having said that I think it is VERY important that the JSF
> > framework be "cluster friendly", which means supporting session
> > replication. Large enterprise applications absolutely require that the
> > presentation tier be supported by a cluster of JSP servers.
> >
> > Anyone see a reason to _not_ make them Serializable?
> >
> > Langley
> >
> > -----Original Message-----
> > From: Heath Borders [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, March 08, 2005 11:54 AM
> > To: MyFaces Discussion
> > Subject: Re: Anyone know why the DataModels aren't Serializable?
> >
> >
> > I don't know why they're not serializable, but unless you have session
> > replication, or you're doing client-side state saving, my guess is
> > that a JSF application will not be able to survive a restart.
> >
> >
> > On Tue, 8 Mar 2005 09:46:52 -0600, Jonathan Eric Miller
> > <[EMAIL PROTECTED]> wrote:
> >> Does anyone know why the JSF DataModels aren't Serializable? Can the
> >> state
> >> of a JSF application survive a restart of the Servlet container?
> >> Normally,
> >> I've always made my beans Serializable, but, now I'm not able to do so
> >> since
> >> I'm making use of DataModels which aren't Serializable.
> >>
> >> Jon
> >>
> >>
> >
> >
> > --
> > -Heath Borders-Wing
> > [EMAIL PROTECTED]
> >
> 
>

Reply via email to