Skip Headers
Oracle TopLink Developer's Guide
10g Release 3 (10.1.3)
B13593-01
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
Next
Next
 

Configuring Context Properties

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 91-12 summarizes which coordinated caches support context properties.

Table 91-12 Coordinated Cache Support for Context Properties

Coordinated Cache Using TopLink Workbench
Using Java

JMS Coordinated Cache

Supported.


Supported.


RMI Coordinated CacheFoot 1 

Supported.


Supported.


CORBA Coordinated CacheFootref 1

Supported.


Supported.


Custom Coordinated Cache

Unsupported.


Unsupported.



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").

Using TopLink Workbench

To define JNDI context properties, use this procedure:

  1. Select a session or session broker in the Navigator. Its properties appear in the Editor.

  2. Ensure the Enable Cache Coordination option is selected, then select the appropriate coordinated cache Type (see Table 91-12). The cache coordination options appear on the tab.

  3. Ensure the JNDI Naming Service option is selected. See "Configuring a Naming Service Type".

  4. In the JNDI Naming Service area, click Properties. The Edit Properties dialog box appears.

    Figure 91-9 Edit Properties Dialog Box

    Description of Figure 91-9  follows
    Description of "Figure 91-9 Edit Properties Dialog Box"

  5. Click Add to create a new property. The Add New Property dialog box appears.

    To change (or delete) an existing property, select the property and click Edit (or Remove).

Use this table to enter data in the following fields on the dialog box.

Field Description
Name The name of the property.
Value The value of the property.