Flexible failover configuration
First Claim
Patent Images
1. A method comprising:
- receiving a deployment descriptor that corresponds to an application and specifies whether a persistence scope of the application is instance-wide or cluster-wide;
if the deployment descriptor specifies that the persistence scope of the application is instance-wide, creating an instance-wide session domain that corresponds to the application based on the deployment descriptor specifying that the persistence scope is limited to one target computer, the instance-wide session domain being created on a target computer and configured to store session objects that represent sessions of the application, the instance-wide session domain corresponding to session criteria that include the persistence scope of the application;
otherwise, if the deployment descriptor specifies that the persistence scope of the application is cluster-wide, creating a cluster-wide session domain that corresponds to the application based on the deployment descriptor specifying that the persistence scope is for multiple target computers, the cluster-wide session domain being created on a target computer among a plurality of target computers accessible by the plurality of target computers to store session objects that represent sessions of the application, the cluster-wide session domain corresponding to session criteria that include the persistence scope of the application;
managing a session represented by a session object within the created session domain consistent with the session criteria that include the persistence scope of the application, the session interacting with the application; and
persisting state information of the session that interacts with the application based on he session criteria that include the persistence scope of the application, the persisting of the state information being performed by a processor of the target computer.
1 Assignment
0 Petitions
Accused Products
Abstract
A method is described that involves offering a user different persistent scope choices including: a) internal to a computing system that the deployment descriptor is to be sent to; and, b) external to the computing system that the deployment descriptor is to be sent to. The method also involves offering a user different persistence frequency choices including: a) persisting per request; and, b) persisting per session state information attribute change. The method also involves generating a deployment descriptor that reflects the user'"'"'s choice of the persistence scope and persistence frequency.
316 Citations
20 Claims
-
1. A method comprising:
-
receiving a deployment descriptor that corresponds to an application and specifies whether a persistence scope of the application is instance-wide or cluster-wide; if the deployment descriptor specifies that the persistence scope of the application is instance-wide, creating an instance-wide session domain that corresponds to the application based on the deployment descriptor specifying that the persistence scope is limited to one target computer, the instance-wide session domain being created on a target computer and configured to store session objects that represent sessions of the application, the instance-wide session domain corresponding to session criteria that include the persistence scope of the application; otherwise, if the deployment descriptor specifies that the persistence scope of the application is cluster-wide, creating a cluster-wide session domain that corresponds to the application based on the deployment descriptor specifying that the persistence scope is for multiple target computers, the cluster-wide session domain being created on a target computer among a plurality of target computers accessible by the plurality of target computers to store session objects that represent sessions of the application, the cluster-wide session domain corresponding to session criteria that include the persistence scope of the application; managing a session represented by a session object within the created session domain consistent with the session criteria that include the persistence scope of the application, the session interacting with the application; and persisting state information of the session that interacts with the application based on he session criteria that include the persistence scope of the application, the persisting of the state information being performed by a processor of the target computer. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A non-transitory computer-readable memory comprising instructions that, when executed by one or more processors of a target computer, cause the target computer to perform operations comprising:
-
receiving a deployment descriptor that corresponds to an application and specifies whether a persistence scope of the application is instance-wide or cluster-wide; if the deployment descriptor specifies that the persistence scope of the application is instance-wide, creating an instance-wide session domain that corresponds to the application based on the deployment descriptor specifying that the persistence scope is limited to one target computer, the instance-wide session domain being created on the target computer and configured to store session objects that represent sessions of the application, the instance-wide session domain corresponding to session criteria that include the persistence scope of the application; otherwise, if the deployment descriptor specifies that the persistence scope of the application is cluster-wide, creating a cluster-wide session domain that corresponds to the application based on the deployment descriptor specifying that the persistence scope is for multiple target computers, the cluster-wide session domain being created on a target computer among a plurality of target computers accessible by the plurality of target computers to store session objects that represent sessions of the application, the cluster-wide session domain corresponding to session criteria that include the persistence scope of the application; managing a session represented by a session object within the created session domain consistent with the session criteria that include the persistence scope of the application, the session interacting with the application; and persisting state information of the session that interacts with the application based on the session criteria that include the persistence scope of the application. - View Dependent Claims (14, 15)
-
-
16. A system comprising:
-
a machine; a computer readable medium comprising instructions that, when executed by one or more processors of the machine, cause the machine to perform operations that include; receiving a deployment descriptor that corresponds to an application and specifies whether a persistence scope of the application is instance-wide or cluster-wide; if the deployment descriptor specifies that the persistence scope of the application is instance-wide, creating an instance-wide session domain that corresponds to the application based on the deployment descriptor specifying that the persistence scope is limited to one target computer, the instance-wide session domain being created on the target computer and configured to store session objects that represent sessions of the application, the instance-wide session domain corresponding to session criteria that include the persistence scope of the application; otherwise, if the deployment descriptor specifies that the persistence scope of the application is cluster-wide, creating a cluster-wide session domain that corresponds to the application based on the deployment descriptor specifying that the persistence scope is for multiple target computers, the cluster-wide session domain being created on a target computer among a plurality of target computers accessible by the plurality of target computers to store session objects that represent sessions of the application, the cluster-wide session domain corresponding to session criteria that include the persistence scope of the application; managing a session represented by a session object within the created session domain consistent with the session criteria that include the persistence scope of the application, the session interacting with the application; and persisting state information of the session that interacts with the application based on the session criteria that include the persistence scope of the application. - View Dependent Claims (17, 18, 19, 20)
-
Specification