I would like to propose that we add some way to have a server-side component tree removed from the session in the same way that there is a @Remove method on a stateful session bean. As you know, the component tree is only cleaned up when it falls out of the component tree queue in the session (LRU). However, there are times in the application when it is clear to the developer based on a navigation event that the user is departing a page and will not restore it in the future. I suggest that we introduce the method remove() on UIViewRoot that removes the component tree from the session immediately.

-Dan

--
Dan Allen
Senior Software Engineer, Red Hat | Author of Seam in Action

http://mojavelinux.com
http://mojavelinux.com/seaminaction
http://in.relation.to/Bloggers/Dan

NOTE: While I make a strong effort to keep up with my email on a daily
basis, personal or other work matters can sometimes keep me away
from my email. If you contact me, but don't hear back for more than a week,
it is very likely that I am excessively backlogged or the message was
caught in the spam filters.  Please don't hesitate to resend a message if
you feel that it did not reach my attention.