Skip navigation

Start Using Terracotta

Article Rating?

Downloading, installing, and understanding Terracotta DSO

"I am new to Terracotta DSO help me understand it..."


Step-by-step guide to download, install, and run Terracotta DSO demonstration applications
Configuring Terracotta DSO Demos to run on multiple nodes

Quick Start Guides for integrating or using Terracotta DSO in your Application

"I have an application with a framework or container help me get started..."


Step-by-step introduction to clustering POJOs
Step-by-step introduction to clustering HTTP Sessions
Step-by-step introduction to clustering Spring Beans, Events and Webflow
Step-by-step introduction to installing and running the Terracotta DSO Eclipse Plug-in
How to integrate Terracotta DSO with Hibernate as a 2nd Level cache or for detached instances
How to cluster your EHCache application with Terracotta DSO
How to configure Tomcat and Terracotta DSO for Session Clustering
How to set up Jetty Web Server with Terracotta DSO
How to set up JBoss Application Server with Terracotta DSO
How to set up WebLogic with Terracotta DSO

Do-it-yourself tutorials to get started with Terracotta

"I want to play with it on my own..."


Creates a simple Swing application and clusters it using the Eclipse IDE
Shows how to configure a Spring-based Web app for clustering
Shows how to configure a web application for session clustering

Cookbook

Simple examples to get you started. Also available from svn.


Hello WorldHello World application that demonstrates POJO clustering.
InstrumentationSample application that demonstrates how to configure Terracotta instrumentation.
LockingDemonstrates how to configure the tc-config.xml locks section
SynchronizedDemonstrates the use of distributed synchronized, wait and notify.
DMIDemonstrates the use of distributed method invocation, which can fire a method on many clients across the cluster.
TransientDemonstrates how transience works in Terracotta.
HashMapDemonstrates the use of a java.util.HashMap.
ConcurrentHashMapDemonstrates the use of a java.util.concurrent.ConcurrentHashMap.
AtomicIntegerDemonstrates the use of an AtomicInteger.
CyclicBarrierCoordinate JVMs using a java.util.concurrent.CyclicBarrier.
Read LockHow to use read locks to improve concurrent access
ReentrantReadWriteLockHow to use java.util.concurrent.ReentrantReadWriteLock.
LinkedBlockingQueueDemonstrates the use of java.util.concurrent.LinkedBlockingQueue
FutureTaskDemonstrates the use of java.util.concurrent.FutureTask
MemoizerDemonstrates the use of a Memoizer
ListenerDemonstrates how to implement a clustered listener.
Single ResourceDemonstrates how to assign a single owner for a resource across the cluster.
RMIA complex example using a Queue and a Proxy to emulate an RMI like mechanism.
WildcardsDemonstrates how to use wildcards in the Terracotta tc-config.xml file.

Watch Recorded Training and Webcast Sessions

"Show me how to make it work..."


Technical deep dive describing the architecture and technology of Terracotta
Demonstrates how to use the Terracotta Eclipse Plugin to help configure Terracotta for your application
Technical session illustrating basic Terracotta tuning techniques
Technical session illustrating advanced Terracotta tuning techniques
Demonstrates how to integrate distributed caches in your application, or support existing ones such as JBoss TreeCache and EHCache
Demonstrates the power of Terracotta and Hibernate together including a demonstration Hibernate application
Joint session with Jan Bartel of Mortbay showing how to use Terracotta to provide Session clustering for Jetty
Demonstrates how to use Terracotta to provide Session clustering for WebSphere
Introduces the new Terracotta Forge, including how to use Maven to integrate Terracotta into your Java projects and how to create your own Terracotta Integration Modules.
Taylor Gautier, Product Manager for Terracotta, describes how to use Terracotta to scale SOA applications.

Adaptavist Theme Builder Powered by Atlassian Confluence