Jan has been working on an infinispan module for upcoming Jetty 9.3 release which will allow users to utilize the Infinispan session manager in their runtime environments.
Its currently setup as an optional module that we are thinking will ship as a module definition in the jetty-distribution.
Something akin to ${jetty.home}/modules/infinispan.mod
The declaration of this module can be found in source control at
#
# Jetty Infinispan module
#
[depend]
annotations
webapp
[files]
maven://org.infinispan/infinispan-core/7.1.1.Final|lib/infinispan/infinispan-core-7.1.1.Final.jar
maven://org.infinispan/infinispan-commons/7.1.1.Final|lib/infinispan/infinispan-commons-7.1.1.Final.jar
maven://org.jgroups/jgroups/3.6.1.Final|lib/infinispan/jgroups-3.6.1.Final.jar
maven://org.jboss.marshalling/jboss-marshalling-osgi/1.4.4.Final|lib/infinispan/jboss-marshalling-osgi-1.4.4.Final.jar
maven://org.jboss.logging/jboss-logging/3.1.2.GA|lib/infinispan/jboss-logging-3.1.2.GA.jar
[lib]
lib/jetty-infinispan-${jetty.version}.jar
lib/infinispan/*.jar
[xml]
etc/jetty-infinispan.xml
[license]
Infinispan is an open source project hosted on Github and released under the Apache 2.0 license.
http://infinispan.org/
http://www.apache.org/licenses/LICENSE-2.0.html
As you can see, this is setup to download the necessary jars to start using the Infinispan Session Manager when the user declare that they want to use this module.
If you want to start to use this, you'll just add it to your ${jetty.base} like this ...
As you can see the jetty-distribution will not ship with the infinispan jars, but instead will download them on install of the module.
Lets see if we can get some other folks interested in testing this setup.
--
Expert advice, services and support from from the Jetty & CometD experts