Skip Headers

# Configuring Context Properties

Previous

Next

When you configure a coordinated cache to use a JNDI naming service (see "Configuring a Naming Service Type"), you can add new environment properties to the environment of the initial JNDI context.

Table: Coordinated Cache Support for Context Properties summarizes which coordinated caches support context properties.

Coordinated Cache Support for Context Properties

Coordinated Cache | Using TopLink Workbench | Using Java
--- | --- | ---
JMS Coordinated Cache |  |
RMI Coordinated CacheFoot 1 |  |
CORBA Coordinated CacheFootref 1 |  |
Custom Coordinated Cache |  |

Footnote 1 When JNDI naming service is selected (see "Configuring a Naming Service Type").

Using TopLink Workbench, TopLink uses the new environment properties you add to create the initial context for both local and remote JNDI access.

Using Java, you can configure different properties for local and remote JNDI access using a session customizer class to call `TransportManager` methods `setLocalContextProperties` and `setRemoteContectProperties` (for more information, see "Configuring Customizer Class").