Patent ID: 7840683

Claim:
A session migration method comprising: managing, by a session manager, a session between a client and a first server using network address translation; managing, by a first server, a context for said client, wherein said context is related to said session, and wherein said context corresponds to credentials and states of said session; managing, by said first server, a plurality of session beans that contains said context; determining that said session is to be moved from said first server according to a network efficiency to consolidate a workload of a plurality of servers that includes said first server and a second server; identifying, by said session manager according to a policy applied to the plurality of servers, said second server other than said first server to manage said context; defining, by said first server, a checkpoint for holding said context in a current state; notifying, by said first server to said session manager, that said context is ready for transfer from said first server, wherein said step of notifying is performed after said checkpoint has been reached; sending, from said session manager to said first server, address information of said second server; sending said context from said first server to said second server, wherein said first server uses said address information when sending said context from said first server to said second server; freeing said first server for an other use after said context has been sent; managing, by said session manager, said session between said client and said second server using network address translation; and managing, by said second server, said context.