×

System and method for providing a cache that stores entity beans and employs data invalidation

  • US 8,176,014 B2
  • Filed: 04/06/2007
  • Issued: 05/08/2012
  • Est. Priority Date: 08/30/2001
  • Status: Active Grant
First Claim
Patent Images

1. A system for caching entity beans in a cluster environment, said system comprising:

  • a database connected to the cluster, said database storing at least one data item; and

    a server device connected to the cluster, said server device caching a plurality of entity beans, each entity bean containing a copy of said data item;

    wherein the server device includes one or more read-only entity beans that allow shared access to said data item by clients such that the data item is not modified within the database as a result of the shared access, wherein each of the one or more read only entity beans located on said server device exposes an interface to invalidate the copy of said data item stored locally on the server device;

    wherein the server device further includes a bean providing write access to the same data item in the database that is accessed by the one or more read-only entity beans;

    wherein a deployment descriptor associated with the bean providing write access contains an invalidation target tag that identifies the one or more read-only entity beans associated with the data item, wherein the invalidation target tag in the deployment descriptor is used to invalidate the one or more read-only entity beans; and

    wherein after the data item is modified in the database by using the read/write bean, the one or more read-only entity beans on the server device receive an invalidate request on the interface exposed by said read-only entity beans, wherein the server device then drops the copy of the data item stored locally in response to said invalidate request and multicasts said invalidate request to a plurality of other servers in the cluster containing a local cached copy of said data item, wherein the multicasting of the invalidate request instructs said plurality of other servers to drop the local cached copy of said data item.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×