This content has been marked as final.
Show 1 reply
-
1. Re: Database replication & cache loaders
hmesha Jan 17, 2006 11:48 AM (in response to pbanta)Hello pbanta,
Here's the answers to your questions:1. At location B how do I detect that data has changed in the database and load it into the cache at B?
You have to use JBoss Clustering for A and B. that way, when data changed on A, the cluster will notify B to re-load the cache from the cache loader store.2. Is this something that a cacheloader can do?
CacheLoader is a persistance/passivation store for the cache tree and is not in control of the cache. so the cache loader can't do anything other than storing/loading to and from the cache loader store3. Is there a best practice for this type of scenario?
Look at JBoss Clustering examples at http://jboss.com/developers/projects/jboss/clustering
Hope this helps
- Hany