Configuring Coherence*Extend

So much for the theory and background, let's get more practical and learn how to configure Coherence*Extend both within the cluster and on the client.

Configuring proxy servers

In order to configure a Coherence node to serve as a Coherence*Extend proxy server, you need to add a scheme similar to the following to your cache configuration file:

<cache-config>
  <caching-scheme-mapping>
  ...
  </caching-scheme-mapping>

  <caching-schemes> 
    <proxy-scheme>
      <scheme-name>extend-tcp-proxy</scheme-name>
      <service-name>ExtendTcpProxyService</service-name>
      <thread-count>50</thread-count>

      <acceptor-config>
        <tcp-acceptor>
          <local-address>
            <address>localhost</address>
            <port>9099</port>
          </local-address>
        </tcp-acceptor>
 </acceptor-config> ...

Get Oracle Coherence 3.5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.