System and Method for Flushing Bean Cache
First Claim
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 bean cache connected to the cluster, said bean cache containing a plurality of entity beans, each entity bean containing a copy of said data item;
wherein the bean cache includes at least one read-only entity bean that allows shared access to said data item by one or more clients such that the data item is not modified within the database as a result of the shared access.
1 Assignment
0 Petitions
Accused Products
Abstract
Servers in a network cluster can each store a copy of a data item in local cache, providing read access to these copies through read-only entity beans. The original data item in the database can be updated through a read/write entity bean one of the cluster servers. That cluster server has access to an invalidation target, which contains identification information relating to copies of the data item stored on servers in the cluster. Once the read/write bean updates the data item in the database, an invalidate request can be sent or multicast to all cluster members, or to any read-only bean or server contained in the invalidation target. Each server or read-only bean receiving the request knows to drop any copy of the data item in local cache, and can request a current copy of the data item from the database.
57 Citations
15 Claims
-
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 bean cache connected to the cluster, said bean cache containing a plurality of entity beans, each entity bean containing a copy of said data item;
wherein the bean cache includes at least one read-only entity bean that allows shared access to said data item by one or more clients such that the data item is not modified within the database as a result of the shared access. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method for caching entity beans in a cluster environment, said method comprising:
-
maintaining a connection to a database by one or more network clients, said database storing a copy of a data item for access by the one or more clients;
receiving a request for said data item from the one or more clients;
generating a read-only entity bean in processing the request, said read-only entity bean providing read access to the copy of the data item and storing identification information relating to the read-only bean; and
storing said read-only entity bean in an entity bean cache. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computer readable medium having object code stored thereon which when executed by one or more processors causes a system to:
-
maintain a connection to a database by one or more network clients, said database storing a copy of a data item for access by the one or more clients;
receive a request for said data item from the one or more clients;
generate a read-only entity bean in processing the request, said read-only entity bean providing read access to the copy of the data item and storing identification information relating to the read-only bean; and
store said read-only entity bean in an entity bean cache.
-
Specification