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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...