title: How to use JSF2.0 view scope in cluster environment?
body: <p>I want to use <strong>JSF2.0</strong> in cluster environment. I'm building a <strong>JPA2.0 + Spring 3.0 + JSF2.0</strong> stack. I know how to replicate session scoped beans. But how to replicate view scoped beans? I plugged view scope into <strong>Spring 3.0</strong> from here
  <a href="http://cagataycivici.wordpress.com/2010/02/17/port-jsf-2-0s-viewscope-to-spring-3-0/" rel="nofollow">http://cagataycivici.wordpress.com/2010/02/17/port-jsf-2-0s-viewscope-to-spring-3-0/</a></p>
  
  <p>The idea is the same as in JS2.0 on JEE6 server - put a bean into the view map (<code>FacesContext.getCurrentInstance().getViewRoot().getViewMap()</code>)</p>
  
  <p>The problem is :
  I've opened <code>index.xhtml</code> on <strong>node 1</strong>. <code>View-scoped</code> bean was created. I clicked something and the <code>postback</code> request got onto <strong>node 2</strong> - where the view doesn't exist. </p>
  
  <p>Is it possible to have this in cluster environment? Should I use only session and <code>request</code> scope?</p>
  
  <p>On the other hand JSF view-state may not work properly in cluster environment. How to use JSF on cluster?</p>