×

System and method for managing memory of Java session objects

  • US 8,015,561 B2
  • Filed: 12/28/2004
  • Issued: 09/06/2011
  • Est. Priority Date: 12/28/2004
  • Status: Active Grant
First Claim
Patent Images

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 all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×