Advanced topics

In the following sections, we will discuss some advanced topics in regards to clustering. We will especially see how you can rely on a TCP stack to create your cluster configuration, to use the TCP protocol for communication and transfer purposes, that is, the cluster member's advertising and state replication. Additionally, we will see what clustering means for applications bundling Enterprise Java Beans and how clients are affected.

For simplicity, we will stack with standalone mode, using the standalone-ha.xml configuration file.

Clustering using TCP

As we have seen at the beginning of the chapter, to achieve cluster capabilities, JBoss relies on two components: JGroups and Infinispan.

The first one is used for communication purposes; ...

Get Mastering JBoss Enterprise Application Platform 7 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.