There are two ways you can interact with Infinispan. The first use is in embedded mode, which is the easiest way to start with and to figure things out. The embedded mode initiates an Infinispan instance within the same JVM as the application.
The other way is the client/server mode, where you have an Infinispan data grid instance running in a separated process. Since it is remote, you and multiple applications are able to connect through client connectors.
In this mode, Infinispan runs embedded in the same JVM as the application logic, where each JVM that is part of the cluster will run an individual Infinispan instance.
This mode is perfect if you are running your application in a ...