Terracotta DSO
Examples of using Terracotta to cluster the JVM
Sample Applications
- Chatter
Chatter is a simple chat application that allows multiple users connected
to the same Terracotta Server to communicate via text messages. After
pressing <ENTER>, the text displays on all client nodes.
- JVM Coordination
The relevant implementation detail from this sample application is that it shows
how to coordinate threads in a multi-VM environment using the same patterns one
would use in a single-VM multi-threaded environment.
- Inventory Manager
The Inventory Manager sample application shows how to use Terracotta DSO to
share and propagate changes to data structures.
- Shared JTable
The Shared JTable sample application shows how to use Terracotta DSO to cluster
a Java Swing application and use Terracotta Distributed Method Invocation (DMI)
to propagate model data changes across the cluster.
- Shared Graphics Editor
The Shared Graphics Editor sample application shows how to use Terracotta DSO
to transform a single user drawing tool into a multi-person drawing tool where
all users share a common drawing canvas.
- Shared Work Queue
The Shared Work Queue sample application shows how to use Terracotta DSO in a
web environment to create a list of computation tasks that is worked on by all
the nodes in the cluster.