[jboss-user] [JBossCache] - storing objects in multiple caches

escanzano do-not-reply at jboss.com
Fri Sep 28 10:29:27 EDT 2007


Hi All,

I have multiple caches in play. Is it possible (or recommended) to store references in one object to another object that is in another cache? Is this acceptable design?

Consider...

Objects from a db table A are stored in cache A and objects from db table B are stored in cache B.  Object A maintains a list of B objects what are related to it in a many-to-many fashion. Do I store the object (B) reference in both A and in cache B or should I duplicate object B?

Thanks
E


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089726#4089726

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089726



More information about the jboss-user mailing list