Thanks for the reply Ray.

Can two independent applications/processes access the same cache? I
tried and am unable to do so.
I have two web applications deployed under the same Weblogic instance.
I put an object in the cache using application A and when I try to
retrieve it using the same key in application B, I get a null
reference back. Shouldn't both the applications have access to the
same cache?

On Mar 6, 6:11 pm, Ray Krueger <[email protected]> wrote:
> > Is there a way to create cache regions using the spymemcached client?
> > I'm aware of how one can create cache regions in hibernate. Is there a
> > programmatic way of doing something analogous to that?
>
> > - Ritesh
>
> Memcached itself (regardless of what language or client library you
> use) doesn't support namespaces or regions at all. See the faq under
> "Namespaces".http://code.google.com/p/memcached/wiki/FAQ
>
> That being said...
> The hibernate-memcached library, which uses spymemcached, handles
> cache regions much in the same way mentioned in the FAQ. Region + key
> = cache key.http://code.google.com/p/hibernate-memcached/

Reply via email to