title: WildFly 10 HA deploy: not losing sessions
body: <p>I have been reading posts and documentation all day long about that topic, and still can't find something easy to understand and trust on.</p>
  
  <p>I currently have my webapp deployed on WildFly 10, as a simple war file.</p>
  
  <p>It's an e-commerce website, in production for a few weeks, and every time we need to deploy a new release, well... that's very annoying, because some customers could be shopping right now, and deployment will obviously make them lose their sessions, and that's very bad.</p>
  
  <p>I need a solution to deploy a new war without restarting the application server. At first, I read the docs about clustering (domain configuration over standalone configuration), but I'm not sure that's enough for me...</p>
  
  <p>Imagine the same customer with a few items in the shopping cart (http session), accessing the first node of the cluster. 
  Then I put it down, because I'm deploying.
  OK, the customer will be redirected to the second node of the cluster but... will the session data still be available? Will he 'lose' the shopping cart items?</p>
  
  <p>I read about sticky sessions, but nothing about configuring them in WildFly. I am on Amazon AWS, so I can use ELB (load balancer), too.
  Can you help me understand exactly what I need to learn and use?</p>