Go to main content
1/18
Contents
List of Examples
List of Figures
List of Tables
Title and Copyright Information
Preface
Audience
Documentation Accessibility
Related Documents
Conventions
1
Installing and Configuring Coherence
1.1
Installing Coherence
1.2
Testing a Coherence Installation
1.2.1
To Test a Coherence Installation—Main Steps
1.2.2
Configure and Run the Sample Cache Server Application
1.2.3
Configure and Run the Sample Cache Client Application
1.2.4
Exercise the Sample Cache Client Application
1.2.5
Troubleshooting Cache Server Clustering
1.2.5.1
Restricting Coherence to Your Own Host
1.2.5.2
Advanced Steps to Restrict Coherence to Your Own Host
2
Installing and Configuring Eclipse and OEPE with Coherence
2.1
Installing Eclipse and OEPE
2.2
Configuring Eclipse and OEPE for Coherence
2.3
Creating a New Project in the Eclipse IDE
2.4
Launching a Cache Server in the Eclipse IDE
2.5
Learning Eclipse IDE Basics
2.5.1
Creating a Java Class
2.5.2
Creating a Runtime Configuration
2.5.3
Stopping Cache Servers
3
Accessing the Data Grid from Java
3.1
Introduction
3.2
Creating Your First Coherence-Based Java Program
3.2.1
Create a Program to Put Values in the Cache
3.2.2
Create a Program to Get Values from the Cache
3.3
Creating Your First Coherence-Based Java Application
3.3.1
Create the Console Application
3.3.2
Run the Console Application
4
Working with Complex Objects
4.1
Introduction
4.2
Creating and Caching Complex Objects
4.2.1
Create the Data Objects
4.2.2
Create the Complex Object
4.2.3
Create the Driver Class
4.2.4
Create the POF and Cache Configuration Files
4.2.5
Run the Sample Project
5
Loading Data Into a Cache
5.1
Introduction
5.2
Populating a Cache with Domain Objects
5.2.1
Create a Class with the Key for the Domain Objects
5.2.2
Edit the POF Configuration File
5.2.3
Create the Data Generator
5.2.4
Create a Console Application to Load the Cache
5.2.5
Run the Cache Loading Example
5.3
Querying and Aggregating Data in the Cache
5.3.1
Create the Class to Query Cache Data
5.3.2
Run the Query Example
5.3.3
Edit the Query Example to Perform Aggregations
5.3.4
Run the Query and Aggregation Example
6
Simplifying Cache Calls and Aggregations
6.1
Introduction
6.2
Simplifying the Query Example
6.3
Rerunning the Query Example
7
Listening for Changes and Modifying Data
7.1
Introduction
7.2
Creating a Cache Listener
7.2.1
Create a Class to Listen for Changes in the Cache
7.2.2
Run the Cache Listener Example
7.3
Responding to Changes in the Cache
7.3.1
Create a Class to Update Entries in the Cache
7.3.2
Edit the POF Configuration File
7.3.3
Run the Cache Update Example
8
Using JPA with Coherence
8.1
Introduction
8.2
Mapping Relational Data to Java Objects with JPA
8.2.1
Unlock the OracleXE Database
8.2.2
Download the JPA Libraries
8.2.3
Configure the Project for JPA
8.2.4
Create the JPA Persistence Unit and Entity Beans
8.2.5
Edit the persistance.xml File
8.2.6
Create the Cache Configuration File for JPA
8.2.7
Create a Cache Server Start-Up Configuration
8.2.8
Create a Class to Interact with the Data Object
8.2.9
Create a Run Configuration for RunEmployeeExample
8.2.10
Run the JPA Example
9
Interacting with the Cache and the Database
9.1
Introduction
9.2
Creating a Cache Application
9.2.1
Create an Application that Constructs a Cache
9.2.2
Create a Cache Configuration File
9.2.3
Configure the Project Properties
9.2.4
Create the Cache Server Start-Up Configuration
9.2.5
Run the Cache Creation Application
9.3
Creating a Database Cache
9.3.1
Create an Oracle Database Cache
9.3.2
Create a Class to Define a Custom Cache Store
9.3.3
Modify the Cache Configuration File
9.3.4
Create a Class to Construct the Database Cache
9.3.5
Run the Database Cache Application
10
Working with Security
10.1
Introduction
10.2
Enabling Token-Based Security
10.2.1
Use a Security Helper File
10.2.2
Create an Identity Transformer
10.2.3
Create an Identity Asserter
10.2.4
Create the Password File
10.2.5
Enable the Identity Transformer and Asserter
10.2.6
Create a Cache Configuration File for the Extend Client
10.2.7
Create a Cache Configuration File for the Extend Proxy
10.2.8
Create a Start-Up Configuration for a Cache Server
10.2.9
Create a Start-Up Configuration for a Cache Server with a Proxy Service
10.2.10
Run the Password Example
10.3
Including Role-Based Access Control to the Cluster
10.3.1
Define Which User Roles Are Entitled to Access Cache Methods
10.3.2
Apply the Entitlements to the Cache Service
10.3.3
Create the Access Control Example Program
10.3.4
Edit the Cluster-Side Cache Configuration File
10.3.5
Run the Access Control Example
10.4
Including Role-Based Access Control to an Invocable Object
10.4.1
Create an Invocable Object
10.4.2
Create an Entitled Invocation Service
10.4.3
Create the Access Invocation Service Example Program
10.4.4
Edit the Cluster-Side Cache Configuration File
10.4.5
Create a POF Configuration File
10.4.6
Edit the Run Configurations for the Servers
10.4.7
Run the Access Invocation Service Example
11
Caching Sessions with Coherence and WebLogic Server
11.1
Introduction
11.2
Caching Session Information for Web Application Instances
11.2.1
Ensure That You are Using Coherence 3.7 with WebLogic Server 10.3.4
11.2.2
Start a Cache Server
11.2.3
Configure and Start the WebLogic Server
11.2.4
Create a Machine
11.2.5
Create the WebLogic Servers
11.2.6
Create a Coherence Cluster
11.2.7
Deploy the Shared Library Files
11.2.8
Create the Counter Web Application
11.2.9
Deploy the Application
11.2.10
Start the Node Manager and the WebLogic Servers
11.2.11
Verify the Example
Index
Scripting on this page enhances content navigation, but does not change the content in any way.