Chapter 4. POJO Clustering

In the last chapter, you got some hands-on experience with Terracotta by building and running HelloClusteredWorld. Now that you've gotten your feet wet, it's time to introduce some major concepts that we have only briefly mentioned so far.

There are three broad concepts we need to discuss to help you understand how Terracotta works under the hood. The first is how Terracotta handles Java objects and the virtual heap. The second is how Terracotta manages the coordination of threads between JVMs and the changes threads make to objects on the virtual heap. The third major concept we'll introduce here is transparency and how Terracotta extends the existing semantics of your application to introduce clustering behavior at ...

Get The Definitive Guide to Terracotta: Cluster the JVM™ for Spring, Hibernate, and POJO Scalability now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.