Patent ID: 7552219

Claim:
A method for sharing session data between servers, the method comprising: performing, by a particular application server, one or more methods for a user as part of an application server session with the user; creating, by the particular application server, a post aspect component of an aspect-oriented programming system based on changes to data of the application server session resulting from performance of the one or more methods; at an enterprise server, determining by a pre aspect component of an aspect-oriented programming system that a method of the enterprise server will need updated session data from an application server session with the user; determining, by the enterprise server, that the particular application server has a current session with the user; requesting, by the enterprise server, new session data from the particular application server; at the particular application server, receiving a request from the enterprise server for the updated session data for a session between the user and the particular application server, the request being subsequent to a previous request from the enterprise server, the updated session data comprising any changes to the session data since the previous request; transmitting the updated session data from the particular application server to the enterprise server; receiving at the enterprise server the updated session data; and creating a local session at the enterprise server based on the updated session data for the session between the user and the particular application server.