×

System and method for eager relationship caching of entity beans

  • US 7,464,069 B2
  • Filed: 02/19/2003
  • Issued: 12/09/2008
  • Est. Priority Date: 02/21/2002
  • Status: Expired due to Term
First Claim
Patent Images

1. A system for caching of entity beans in a server environment, comprising:

  • a deployment descriptor file that stores one or more caching element tags for specifying a set of user specified relationships among a plurality of beans wherein said caching element tags are nested to implement multiple levels of related beans such that a bean loads more than one level of related beans;

    a server that receives a request from a client to retrieve data from a database corresponding to a first bean and determines an object relationship by parsing the caching element tags in the deployment descriptor file in order to retrieve data for both the first bean and a second bean from the database, as specified by an object relationship determined by the server in parsing the deployment descriptor file and wherein the server also simultaneously retrieves a third bean that is not directly related to the first bean, such that retrieval of the third bean is based on the object relationship between the second bean and the third bean;

    an object cache for temporary storage of the data for the first bean, the second bean, and the third bean; and

    ,wherein a request from a client to retrieve database information corresponding to the second bean causes the server to retrieve data for the second bean directly from the cache, without making another call to the database; and

    wherein performance of the object cache is adjusted by setting up multiple levels of caching relationships among the beans by nesting said cache elements within one another in the deployment descriptor.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×