Redeploy application in JBoss without loosing the HttpSessions

Very nice trick via Norman Richards (Redeploy web apps without losing the HTTP session) where using cluster replication for sessions can solve the problem of using session when applications are redeployed. Nice in development and works on a single node.