How to Access a Coherence Cache From JRuby Script

(Doc ID 1275019.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle Coherence - Version: 3.5.0 to 3.6.0 - Release: AS10g to AS10g
Information in this document applies to any platform.

Goal

The following example shows how to use JRuby to access Coherence caches. Although this is basic and is simply using the cache config file out of coherence.jar it gives you enough to see how simple it is to join the cluster as a member and access coherence.jar from JRuby.

For this demo I have the following installed:

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms