Patent ID: 8589562

Claim:
A method, comprising: defining a deployment descriptor associated with an application, the deployment descriptor specifying a persistence scope, for said application, internal to a computing system; receiving a first instance of said deployment descriptor on a first computing system, said first computing system having multiple virtual machines, said first computing system not having shared memory accessible to each of said virtual machines for storing persisted session information; and, receiving a second instance of said deployment descriptor on a second computing system, said second computing system having multiple virtual machines, said second computing system having shared memory accessible to each of said second system's virtual machines for storing persisted session information; as a consequence of said first computing system receiving said first instance of said deployment descriptor, creating a first session domain based on information within said deployment descriptor, said first session domain configured to manage session objects containing no session management criteria according to a first set of management criteria, said first set of management criteria defining how a session is to be managed, managing, within said first session domain, a first session according to said first set of management criteria, said first session actively servicing client requests, and persisting, from said first session domain according to said first set of management criteria, said first session's session state information in said first computing system's file system, if said first session remains active said first session domain continues managing said first session; and, as a consequence of said second computing system receiving said second instance of said deployment descriptor, creating a second session domain based on information within said deployment descriptor, said second session domain configured to manage session objects containing no session management criteria according to a second set of management criteria, said second set of management criteria defining how a session is to be managed, managing, within said second session domain, a second session according to said second set of management criteria, said second session actively servicing client requests, and persisting, from said second session domain according to said second set of management criteria, said second session's state information in said second computing system's shared memory, if said second session remains active said second session domains continues managing said second session.