It's hard to comment without a specific use case.

You only have to implement Serializable or StateHolder if you're going
to save the bean.  Maybe you're not saving the bean.   If you're using
server-side state management and session-scoped beans, it'd depend on
your container whether they're "saved."

If you're using client-side state management, they should always be "saved."

Also, check your inheritance hierarchy.  Perhaps some base superclass
is already implementing Serializable.

On 11/29/05, Matthias Kahlau <[EMAIL PROTECTED]> wrote:
> Hi!
>
>
> I have a question regarding a MyFaces WIKI article about state management.
> In the article is described, that BackingBeans will have to implement the
> Serializable interface or StateHolder. I neither implement Serializable, nor
> StateHolder, but my BackingBeans work. Isn't the article up-to-date, or is
> there some misunderstanding?
>
> http://wiki.apache.org/myfaces/How_JSF_State_Management_Works
>
>
>
> Regards,
> Matthias
>
>

Reply via email to