Skip to content

Files

java

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Feb 6, 2024
Mar 19, 2025
Mar 19, 2025
Mar 17, 2025
Mar 17, 2025
Mar 17, 2025
Mar 25, 2025
Mar 25, 2025
Apr 3, 2023
Jul 21, 2021
Feb 6, 2024
Feb 6, 2024
Feb 6, 2025

Coherence To Do List Example Application

Overview

Clients

This example is a simple task management application which allows users to add, complete, filter and delete tasks within a list.

The example currently provides four clients to work with tasks:

  1. React front-end integrating with one of the server back-end integrated with Coherence using the coherence-cdi and coherence-mp modules.

  2. GraphQL end-point with optional GraphiQL UI using Helidon Microprofile GraphQL. See here for instructions on how to access the GraphQL endpoint.

  3. JavaFX client connecting as a Coherence Java client

  4. Oracle JET front-end (Optional)

Any number of the clients can be run and will receive all events from other clients as tasks are created, updated, completed or removed. This is achieved using Server Sent Events (SSE) for the React client and Coherence Live Events for the JavaFX client.

Server Implementations

Four server implementation are provided by the following Maven modules:

  • coherence-server Provides a simple Coherence server and Docker image
  • helidon-server Provides a Helidon-powered server
  • micronaut-server Provides a Micronaut-based server
  • spring-server Provides a Spring Boot-based server

JavaFX Client Implementation

The JavaFX Client Implementation is located under in the client Maven module.

Prerequisites

In order to build and run the examples, you must have the following installed:

  • Maven 3.6.3+
  • Java 17+
  • NPM 8.x+
  • Node.js 14+
  • Docker to build the Coherence server image

Build + Run Instructions

Please see the README for each server implementation for build and run instructions:

References