External persistence of session state information
First Claim
1. A method performed by a computing system, comprising:
- reading program code from memory and processing said program code with one or more processors to perform the following;
a) receiving a deployment descriptor that defines a session domain and specifies a persistence scope that is external to said computing system and determining said persistence scope from said deployment descriptor;
b) as a consequence of determining said persistence scope, instantiating a plug-in for a database that is external to said computing system, the plug-in providing a translation layer between a generic session persistence interface and the database; and
,c) over the course of a session, managing the persistence of said session'"'"'s session state information by using said plug-in to translate a first command that is not specific to said database into a second command that is specific to said database, said first command to implement one of the following processes;
storing, into said database, attributes of said session stored within a shared memory as a shared closure of multiple objects, said shared memory shared by multiple virtual machines of said computing system;
retrieving, from said database, attributes of said session and storing said attributes within said shared memory as a shared closure of multiple objects;
wherein the session domain includes the session and manages session management criteria for the session within the shared memory.
2 Assignments
0 Petitions
Accused Products
Abstract
A method performed by a computing system is described. The method involves receiving a deployment descriptor that specifies a persistence scope that is external to the computing system. The method also involves, as a consequence of the receiving, instantiating a plug-in for a database that is external to the computing system. The method also involves, over the course of a session, managing the persistence of the session'"'"'s session state information in said database by, with program code provided by the plug-in, translating a first command that is not specific to the database into a second command that is specific to the database. The session state information comprises a plurality of attributes. The first command is to cause a process to be performed. The process is selected from the group consisting of: storing in the database one of the attributes; and, retrieving from the database one of the attributes.
-
Citations
16 Claims
-
1. A method performed by a computing system, comprising:
-
reading program code from memory and processing said program code with one or more processors to perform the following; a) receiving a deployment descriptor that defines a session domain and specifies a persistence scope that is external to said computing system and determining said persistence scope from said deployment descriptor; b) as a consequence of determining said persistence scope, instantiating a plug-in for a database that is external to said computing system, the plug-in providing a translation layer between a generic session persistence interface and the database; and
,c) over the course of a session, managing the persistence of said session'"'"'s session state information by using said plug-in to translate a first command that is not specific to said database into a second command that is specific to said database, said first command to implement one of the following processes; storing, into said database, attributes of said session stored within a shared memory as a shared closure of multiple objects, said shared memory shared by multiple virtual machines of said computing system; retrieving, from said database, attributes of said session and storing said attributes within said shared memory as a shared closure of multiple objects; wherein the session domain includes the session and manages session management criteria for the session within the shared memory. - View Dependent Claims (2, 3, 4, 5)
-
-
6. An article of manufacture comprising program code stored on a machine readable storage medium which, when processed by one or more processors of a computing system causes the one or more processors to perform a method, the method comprising:
-
a) receiving a deployment descriptor that defines a session domain and specifies a persistence scope that is external to said computing system and determining said persistence scope from said deployment descriptor; b) as a consequence of determining said persistence scope, instantiating a plug-in for a database that is external to said computing system, the plug-in providing a translation layer between a generic session persistence interface and the database; and
,c) over the course of a session, managing a persistence of session state information for the session by using said plug-in to translate a first command that is not specific to said database into a second command that is specific to said database, said first command to implement one of the following processes; storing, into said database, attributes of said session stored within a shared memory as a shared closure of multiple objects, said shared memory shared by multiple virtual machines of said computing system; retrieving, from said database, attributes of said session and storing said attributes within said shared memory as a shared closure of multiple objects; wherein the session domain includes the session and manages session management criteria for the session within the shared memory. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A computing system comprising a computer readable storage medium including program code, said program code capable of being processed by one or more processors to perform the following operations:
-
a) receiving a deployment descriptor that defines a session domain and specifies a persistence scope that is external to said computing system and determining said persistence scope from said deployment descriptor; b) as a consequence of determining said persistence scope, instantiating a plug-in for a database that is external to said computing system, the plug-in providing a translation layer between a generic session persistence interface and the database; and
,c) over the course of a session, managing a persistence of session state information for the session by using said plug-in to translate a first command that is not specific to said database into a second command that is specific to said database, said first command to implement one of the following processes; storing, into said database, attributes of said session stored within a shared memory as a shared closure of multiple objects, said shared memory shared by multiple virtual machines of said computing system; retrieving, from said database, attributes of said session and storing said attributes within said shared memory as a shared closure of multiple objects; wherein the session domain includes the session and manages session management criteria for the session within the shared memory. - View Dependent Claims (12, 13, 14, 15)
-
-
16. A computing system comprising a computer readable storage medium including program code, said program code capable of being processed by one or more processors to perform the following operations:
-
a) receiving a deployment descriptor that specifies a persistence scope that is external to said computing system and determining said persistence scope from said deployment descriptor; b) as a consequence of determining said persistence scope, instantiating a plug-in for a database that is external to said computing system; and
,c) over the course of a session, managing a persistence of session state information for the session by using said plug-in to; translate a first command that is not specific to said database into a second command that is specific to said database, said first command to implement one of the following processes, storing, into said database, attributes of said session stored within a shared memory as a shared closure of multiple objects, said shared memory shared by multiple virtual machines of said computing system; retrieving, from said database, attributes of said session and storing said attributes within said shared memory as a shared closure of multiple objects; and translate a third command that is not specific to said database into a fourth command that is specific to said database, said third command to implement one of the following processes, retrieving from said database a same attribute for multiple sessions including said session, none of said multiple sessions being expired; retrieving from said database a same attribute for multiple sessions including said session, each of said sessions having expired; and
,retrieving from said database all attributes of multiple sessions including said session, each of said multiple sessions having expired; wherein said attributes are stored in said database in a row of a table, said table containing session state information for other sessions that are managed according to a same set of session management criteria as said session.
-
Specification