> The continuations could be shared in a
database, or perhaps with a JavaGroups-enabled container, similar to how Tomcat sessions are replicated. Maybe SwarmCache can be used as-is for this?
That's the spirit ;)
I wouldn't comment on feasibility of sharing continuations objects... But if something needs to be shared in the cluster environment, it is not a concern of Cocoon to implement this sharing. It is a concern of the application server which provides cluster environment to the servlets, Cocoon included.
Cocoon applications only need to store objects which supposed to be shared in one of the clustered services of the application server (example: JNDI, HTTP session). And IIRC continuations already can be stored in the HTTP session.
...
Is anyone working on this, or am I totally wrong and it is already possible?
See above -- even if possible there is nothing to work on.
Vadim
