[jboss-dev-forums] [Design of JBossCache] - Re: Rigid design of state transfer manager, factories, integ
supi
do-not-reply at jboss.com
Tue Apr 17 13:16:06 EDT 2007
Because it is not possible to keep external resources in sync with the cache.
If a cache contains node A before the transfer, and node A is recreated by the integrator (e.g. network interrupt), no create notification should take place. Likewise, when data is modified (application hook necessary to decide this), node modified events should be fired. Finally, it must be possible to detect removed nodes.
Also, even though delete-all and create-all may work for the cache (although arguably a poor solution), the same cannot be expected from listeners/business semantics.
Basil
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038061#4038061
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038061
More information about the jboss-dev-forums
mailing list