How is session or variable state or object state maintained in a cluster ( Specifically for Java based app servers )?
===

Suppose when my application is accessed through one of the nodes in a cluster and modifications are being made.Suddenly something happens to the node and taken over by another node in the cluster, will the transition happen correctly will anything be lost?

I do have seen some refernces but am still not clear how applications are maintained in a clustered environment?