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

Reply via email to