Use eclipselink.cache.coordination.naming-service
to specify the naming service to use, when using cache coordination for a clustered environment.
Table 5-10 describes this persistence property's values.
Example 5-4 shows how to use this property in the
persistence.xml
file.
Example 5-4 Using cache.coordination.naming-service in persistence.xml
<property name="eclipselink.cache.coordination" value="true"/> <property name="eclipselink.cache.coordination.naming-service" value="jndi"/>
For more information, see:
"Cache Coordination" in Understanding Oracle TopLink
"Scaling TopLink Applications in Clusters" in Solutions Guide for Oracle TopLink