Book Image

Java EE 7 Development with WildFly

Book Image

Java EE 7 Development with WildFly

Overview of this book

Table of Contents (21 chapters)
Java EE 7 Development with WildFly
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

WildFly clustering


Clustering is available in WildFly out of the box. There is no all-in-one library that deals with clustering, but rather a set of libraries that cover different kinds of aspects.

The following diagram shows the basic clustering architecture adopted by WildFly:

The backbone of JBoss clustering is the JGroups library, which provides communication between members of the cluster using a multicast transmission.

Note

Multicast is a protocol where data is transmitted simultaneously to a group of hosts that have joined the appropriate multicast group. You can think about multicast as a radio or television streaming where only those tuned to a particular frequency receive the streaming.

The next building block is Infinispan, which handles the consistency of your application across the cluster by means of a replicated and transactional JSR-107-compatible cache.

Note

JSR-107 specifies the API and semantics for temporary in-memory caching of Java objects, including object creation, shared...