[jboss-user] [JBoss Seam] - Page scope, SERVER state sav, etc - clear explaination for th

przemjaskier do-not-reply at jboss.com
Sat Jun 16 09:20:56 EDT 2007


I find page scope quite confusing and don't fullly understand how it works. Documentation is extremely short on this, and I found two threads (at the end of this post), that appear as giving two different answers from Gavin. Lack and/or incomplete info on this subject does not help with sane design of Seam-driven application. Can documentation on this be extended, please?

Important: I'm using javax.faces.STATE_SAVING_METHOD=SERVER state saving, but every answer that I found on this subject seams like assuming CLIENT?

1. First post talks about INVOKE_APPLICATION->INVOKE_APPLICATION (cross-requests) lifetime only, so why @Destroy method is never invoked (even after session timeout) on my PAGE-scoped bean? Is this bean freed and ready for gb collection or just leaks memory somewhere? Why? I just need this bean to endure form submission...

2. Second post talks about serialization of this scope to the client, but I have SERVER state saving and AFAICT nothing gets serialized to the client, so how it works in this configuration? What about memory consumption and management.

3. Is Seam meant for proper working in a SERVER state saving environment at all? Everything looks to work ok...


http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932795#3932795
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=90425

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054960#4054960

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054960



More information about the jboss-user mailing list