I am implememnting JBoss cache with tomcat. We have multiple JVMs(with its jboss cache) running.
My quesstion is : Once all the JVMs/caches are up and running and When data in database is modified, will the changes of database be reflected on all caches.
I am using "REPL_ASYNC" CacheMode. I know, this will syncronize the data of each "cache" with other "caches" running.
Will it also syncronize all the caches with "DATABASE"?
Do I require this(syncronization of cache with DB) to do manually by code, or this will happen automatically.
How does the data in your "DATABASE" get into the cache in the first place?