myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Blake Sullivan <blake.sulli...@oracle.com>
Subject Re: [jira] Created: (TRINIDAD-1557) XMLMenuModel data structures are not fully serializable.
Date Wed, 19 Aug 2009 15:10:53 GMT
Abhijit S Ghosh (JIRA) said the following On 8/19/2009 6:32 AM PT:
> XMLMenuModel data structures are not fully serializable.
> --------------------------------------------------------
>
>                  Key: TRINIDAD-1557
>                  URL: https://issues.apache.org/jira/browse/TRINIDAD-1557
>              Project: MyFaces Trinidad
>           Issue Type: Bug
>             Reporter: Abhijit S Ghosh
>
>
> XMLMenuModel data structures are not fully serializable,which causes problems during
session state replication in high availability environments,if subclasses use session to cache
menu data structures.This will also create problems during normal serialization.
> The data structure object hierarchy should be made completely serializable.
>
>   
Abhijit,

Do we really need the structure to be Serializable?  If we can rebuild 
the structure after fail-over, it is preferable to use a TransientHolder 
to hold a reference to the unserializable structure and then lazily 
rebuild the structure if necessary.

-- Blake Sullivan


Mime
View raw message