cache « POJO « JPA Q&A





1. Re-using POJOs with and without caching    forum.hibernate.org

Hi, I'm re-using the same domain classes across 3 apps. 1 (public-facing) app is read-only, the other 2 apps (admin and jobs) are read/write. For some entities, i want them cached in the public-facing webapp but not by the other 2 apps. (The cache is NOT distributed). What's the best way of having different cache configurations for different apps? (I'm using ...