seamseam-conversation

How does Seam store conversation state in the client browser?


Seam's documentation says that conversational state - see link last line - can be configured to be stored in the client browser as opposed to the servlet session. Can anyone tell me:

  1. How is this configuration set?
  2. How does Seam actually internally store the conversational state in the browser?

Solution

  • Dan Allen, Author of Seam in Action book and red hat Seam core developer, states

    Since conversations are stored in the session, two requirements must be met:

    As far as i know is that The JSF Tree can be stored in The client side, enabled through web.xml context param

    <context-param>
        <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
        <param-value>client</param-value>
    </context-param>
    

    But keep in mind bandwidth issues when using this kind of configuration