摘要 |
<p>The caching of heterogeneous bean sets has been improved from requiring each bean (204, 206, 210, 212, 214) to have its own cache instance to caching the beans (204, 206, 210, 212, 214) in a single cache. The beans (204, 206, 210, 212, 214) can be identified by generating a unique identifier that is a combination of the bean's primary key and a self reference identier of the bean manager (202, 208) associated with that bean. The average size of a bean set associated with a bean manager (202, 208) can be specified such that the cache allocates memory for that set based on the average size. A callback interface can also be used to shift knowledge of a bean life cycle back to the bean manager (202, 208).</p> |