System and method for managing memory of Java session objects
First Claim
1. A method for managing a session with a client, comprising:
- receiving from said client a request, said request being part of said session, said session handled with a first virtual machine;
placing session state information for said session into an object located in local memory of said first virtual machine, said session state information including a change of a state of said session after a successful handling of said request by said first virtual machine and before a successful handling of an additional request by said first virtual machine said additional request being part of said session;
writing into a shared memory said object, said shared memory shared by said first virtual machine and a second virtual machine, said writing being performed during said session after said successful handling of said request by said first virtual machine and before said successful handling of said additional request by said first virtual machine;
creating a reference from said object in said shared memory to said object in said local memory of said first virtual machine;
in response to a failure that renders said first virtual machine unable to handle said session, reading said object from said shared memory and placing said object into a local memory of said second virtual machine;
receiving from said client said additional request; and
handling said additional request with said second virtual machine based on said object.
2 Assignments
0 Petitions
Accused Products
Abstract
A method for managing a session with a client is described in which the method receives from the client a request for the session. The session is handled with a first virtual machine. The method places the session state information for the session into an object located in the first virtual machine'"'"'s local memory. The method writes into a shared memory an object that contains the session state information. In response to a failure that renders the first virtual machine unable to handle the session, the method reads the object in the shared memory from the shared memory and places it into a second virtual machine'"'"'s local memory. Lastly, the method receives from the client another request for the session, and handles the another request with the second virtual machine and the session state information.
-
Citations
16 Claims
-
1. A method for managing a session with a client, comprising:
-
receiving from said client a request, said request being part of said session, said session handled with a first virtual machine; placing session state information for said session into an object located in local memory of said first virtual machine, said session state information including a change of a state of said session after a successful handling of said request by said first virtual machine and before a successful handling of an additional request by said first virtual machine said additional request being part of said session; writing into a shared memory said object, said shared memory shared by said first virtual machine and a second virtual machine, said writing being performed during said session after said successful handling of said request by said first virtual machine and before said successful handling of said additional request by said first virtual machine; creating a reference from said object in said shared memory to said object in said local memory of said first virtual machine; in response to a failure that renders said first virtual machine unable to handle said session, reading said object from said shared memory and placing said object into a local memory of said second virtual machine; receiving from said client said additional request; and handling said additional request with said second virtual machine based on said object. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An article of manufacture including program code which, when executed by a machine, causes the machine to perform a method, the method comprising:
-
receiving from a client a request, said request being part of a session, said session handled with a first virtual machine; placing session state information for said session into an object located in local memory of said first virtual machine, said session state information including a change of a state of said session after a successful handling of said request by said first virtual machine and before a successful handling of an additional request by said first virtual machine, said additional request being part of said session; writing into a shared memory said object, said shared memory shared by said first virtual machine and a second virtual machine, said writing being performed during said session after said successful handling of said request by said first virtual machine and before said successful handling of said additional request by said first virtual machine; in response to a failure that renders said first virtual machine unable to handle said session, reading said object from said shared memory and placing said object into local memory of said second virtual machine; receiving from said client said additional request; and handling said additional request with said second virtual machine based on said object. - View Dependent Claims (9, 10, 11, 12)
-
-
13. A method for managing a session with a client, comprising:
-
receiving from said client a request, said request being part of said session, said session handled with a first virtual machine; placing session state information for said session into an object located in local memory of said first virtual machine, said session state information including a change of a state of said session after a successful handling of said request by said first virtual machine and before a successful handling of an additional request by said first virtual machine, said additional request being part of said session; writing into a shared memory said object, said shared memory shared by said first virtual machine and a second virtual machine, said writing being performed during said session after said successful handling of said request by said first virtual machine and before said successful handling of said additional request by said first virtual machine; creating a reference from said object in said shared memory to said object in said local memory of said first virtual machine; in response to a failure that renders said first virtual machine unable to handle said session, reading said object from said shared memory and placing said object into a local memory of said second virtual machine; and receiving from said client said additional request with said second virtual machine based on said object; handling said additional request with said second virtual machine based on said object. - View Dependent Claims (14)
-
-
15. An article of manufacture including program code which, when executed by a machine, causes the machine to perform a method, the method comprising:
-
receiving from a client a first request, said request being part of said a session, said session handled with a first virtual machine; placing session state information for said session into an object located in local memory of said virtual machine, said session state information including a change of a state of said session after a successful handling of said request by said first virtual machine and before a successful handling of an additional request by said first virtual machine, said additional request being part of said session; writing into a shared memory said object, said shared memory shared by said first virtual machine and a second virtual machine, said writing being performed during said session after said successful handling of said request by said first virtual machine and before said successful handling of said additional request by said first virtual machine; creating a reference from said object in said shared memory to said object in said local memory of said first virtual machine; in response to a failure that renders said first virtual machine unable to handle said session, reading said object from said shared memory and placing it into a local memory of said second virtual machine; receiving from said client said additional request; and handling said additional request with said second virtual machine based on said object. - View Dependent Claims (16)
-
Specification