If you are _not_ deploying the cache as MBean but instantiate it from your own code (using the constructor and PropertyConfigurator) each instance will connect to the same Group sharing the same data, but will not be the same cache instance. (As a consequence the data would reside in memory multiple times).
To use a single cache-instance (without using the MBean deploment) you have to write your own factory-class implementing a static factory-method that allways returns a reference to the same TreeCache-instance. (Or instantiate a single TreeCache-instance from some startup-class that binds the TreeCache to JNDI so every session-bean might retrive the same instance (in a single VM) from there. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850359#3850359 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850359 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development