Hello. Ben/Bella/anyone...
I'm working with Yosi (yos_titi), and we kind of being going around this subject for a while now. So just to explain again: We want use several static maps to hold all our cached data (We use them now locally). We thought that we could put the maps on the jbosscache at server startup time (See the code published above by Yosi), and then handle the maps as usual, allowing the mapinterceptor to do all the dirty work (handling changes among all nodes). The static maps will be reused across all transactions, where map.get() will be invoked several times for each user transaction (heavy loads are expected) and map.put/remove will be called much less frequently. Ben - thanks for the replies. To make things clear, We don't need specifically cache.getObject() for each transaction. We just call map.get() several times on several maps for each transaction (as we are trying to use the distributed map as we would regular maps), and we noticed that the mapinterceptor calls cache.getObject(), which invokes network calls. The basic question is: can't we use collection classes (The new release u suggested / Implementing our own map) that do not go to the network on each object get, but rather maintain for each proxy class it's correct state locally (as well as being aware that a proxy object has been removed from the map in antoher node). Are we missing something? Thanks, Yoav View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3881547#3881547 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3881547 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user