Leonardo Uribe created MYFACES-3806:
---------------------------------------

             Summary: Destroy ViewScope beans when view is discarded from view 
state.
                 Key: MYFACES-3806
                 URL: https://issues.apache.org/jira/browse/MYFACES-3806
             Project: MyFaces Core
          Issue Type: Improvement
          Components: JSR-344
            Reporter: Leonardo Uribe


According to JSF 2.2 spec, view scope beans are destroyed when the session is 
destroyed, but it could be better if we destroy the beans when the associated 
view is discarded by server side state saving algorithm. We probably need to 
duplicate the view map key but it is ok to do so in this case, because a view 
scope bean can increate session size faster than the additional view map key.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to