Hi Serban,
Well i'm no expert but how about JBossCache(or i don;t know any other cache). It works even for clusters and from what i understand that cache could be modified syncronious. U could put those values in it.
Just a thought.
Well this is kind of vendor specific solution I was talking about. Weblogic doesn�t have any kind of similar cache (caching a graph of pojos), it uses read-only ejbs for the same purpose. However, neither one of the two looks like the kind of solution he�s looking for.
Hi Obi-Wan Kenobi,
was planning to use the jndi look-up i.e. the ServiceLocator Pattern as a solution , but haven't found a lot of documentation on the same.
You mentioned there are some downsides to this ? What are the downsides ?
If the object bound caches a lot of data, then all this data needs to be replicated across the cluster, resulting in lot of network traffic. As I read your requirements your singleton needs to cache a hashmap that gets updated by different clients. It looks to me like your object might abuse the jndi tree in this case.
Btw, I'm using WAS 5.1 . Have you come across this scenario ?
No I never used asymmetric/partitioned clusters. In order to go that far, you might follow Serban�s advice and check WAS documentation, I�m pretty sure they have very good caching strategies. I personally always admired IBM for their very good products.
Regards.