Java Reference
In-Depth Information
JBoss AS 7 clustering
JBoss AS comes out of the box with clustering support. There is no all-in-one library
that deals with clustering, but rather a set of libraries that cover different kinds of as-
pects.
The following diagram shows the basic clustering architecture adopted by JBoss AS
7:
The backbone of JBoss clustering is the
JGroups
library, which provides communic-
ation 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 mul-
ticast 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 ap-
plication 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 access, spooling, invalidation, and
consistency across JVMs.