On 07/12/2012 02:12, Danny Coward wrote:
> So I think that means websocket applications that are 'distributable'
> should not
> - use static variables or local filesystems to store application state
> (use a database instead)
> - put non Serializable data in websocket Sessions
>
> Let me know if you have more things you think the specification should
> define for deployments on distributed servers.
That implies some API changes. Session and MessageHandler will need to
implement Serializable. I'm guessing that RemoteEndpoint and
ClientContainer can be reconstructed post fail-over.
Do we want to add anything along the lines of
HttpSessionActivationListener? My guess is that if it is required for
HttpSEssion then we'll probably need it for the user properties map.
Mark