In my application I have an MBean which uses the TreeCacheAop service (MBean)
for caching. I am getting synchronous replication only when a new object is
added to the cache. So when I add a new object to the cache it gets replicated
on all servers of the cluster, but when I update member fields of the cached
objects the changes only take effect in the cached objects on the server/VM
where the update was made. So the replication doesn't go as deep as I was
expecting -- is it even possible to have synchronous replication of each change
made to cached objects?
I don't really understand AOP or the process of "aspectizing" objects for the
TreeCacheAop, but I suspect that this is where my trouble lies. In the
jboss-aop.xml I have the following entry for the class of objects that I'm
storing in the TreeCacheAop:
<prepare expr="field(* $instanceof{com.mycom.grover.bean.UserActivity}->*)"
/>
Does this look kosher? Is there something else I need to do in order to get a
deeper level of replication?
Thanks in advance for any suggestions or insight.
--James
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875803#3875803
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875803
-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user