-
1. Re: Entity clustering and JBossCache/EJB3
andyd Oct 30, 2005 8:44 AM (in response to andyd)
CacheLoaderShared was that attribute name - the forum didn't appreciate the markup.
Andy. -
2. Re: Entity clustering and JBossCache/EJB3
kabirkhan Nov 2, 2005 6:54 AM (in response to andyd)You need to set up the cache in persistence.xml
http://docs.jboss.org/ejb3/app-server/tutorial/clusteredentity/clusteredentity.html
Then you can define what should be cached using either annotations, or in persistence.xml. See table 2.1:
http://docs.jboss.org/ejb3/app-server/HibernateEntityManager/reference/en/html_single/index.html -
3. Re: Entity clustering and JBossCache/EJB3
andyd Nov 2, 2005 7:44 PM (in response to andyd)Hi Kabir,
Read those, but they don't answer my question, though very informative.
My understanding from them is that you only cache things that don't change often, so not all the entities would actually pass through the cache. Can CacheLoaderShared be used in persistence.xml?
Sounds like I need sequoia to handle HA for persistence.
Thanks,
Andy.