×

System and method for heterogeneous caching

  • US 7,467,166 B2
  • Filed: 04/06/2007
  • Issued: 12/16/2008
  • Est. Priority Date: 01/18/2002
  • Status: Expired due to Term
First Claim
Patent Images

1. A method for providing heterogeneous data caching for transactions involving entity beans of different sizes in an application server, said method comprising the steps of:

  • reading a plurality of data item instances that are contained in a database and are required by a transaction;

    holding in a single system cache the data item instances of different sizes by entity beans of corresponding different sizes, read-only type, write-only type, read-and-write type, and combination of types thereof;

    associating a plurality of bean managers with the single system cache, each entity bean in the cache associated with one of said bean managers, wherein each said bean manager manages the life cycle tasks including creating, removing, loading, and storing of the entity beans that are associated with the bean manager;

    allocating memory dynamically based on the demand of each entity bean;

    associating a time-out value with each said entity bean in the cache wherein said time-out value determines how long the said entity bean should hold an instance of a data item before updating to a new version of said data item; and

    associating an entity bean identifier with each said entity bean in the cache wherein said entity bean identifier comprising an entity bean primary key and an additional object or identifier, and wherein said entity bean identifier associated with each entity bean is unique to its associated entity bean in the cache;

    wherein said heterogeneous data caching causes storage of information in memory and enables an intelligent management of memory.

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