You get it by reference, of course. TreeCacheAop is supposedly to do it behind the scence so you don't have to worry about it. :-)
Here is in a nutshell how it retrieve it from the replicated node. The first time when you issue getObject() api, it will check whether a copy of the "aspectized" object has been created. If not, it will re-create it based on the field values from the cache store. After that, it will just keep the reference around. Hope this help. I will add this in the faq. I am sure others are curious to know as well. Thanks, -Ben View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854120#3854120 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854120 ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
