This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes OSCache and the fly likes Using OscacheProvider for second level cache Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Caching » OSCache
Bookmark "Using OscacheProvider for second level cache" Watch "Using OscacheProvider for second level cache" New topic

Using OscacheProvider for second level cache

Priya Venkatesan
Ranch Hand

Joined: Nov 02, 2002
Posts: 61
I am trying to use hibernate second level cache and was looking to see what Cache provider to choose. After reading about Oscache, I thought in general it seems to be cluster aware. However hibernate's docs ( does not say that org.hibernate.cache.OSCacheProvider is cluster safe. What does this mean? Can I not use this in clustered environment?

Mark Spritzler

Joined: Feb 05, 2001
Posts: 17271

Can I recommend JBossCache instead? It is definitely cluster aware.

I work for JBoss, so there is definitely bias in that comment.


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Using OscacheProvider for second level cache
jQuery in Action, 3rd edition