You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2013/10/18 21:49:41 UTC
[jira] [Created] (MYFACES-3806) Destroy ViewScope beans when view
is discarded from view state.
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)