This content has been marked as final.
Show 1 reply
-
1. Re: Use JGroups in a web application
rhusar Sep 30, 2016 6:54 PM (in response to ceharris)It seems silly to bring JGroups into the application itself, when Wildfly already needs a correctly configured JGroups stack for its own use.
Absolutely.
Before I started down this path, I thought I’d ask if there’s a more straightforward way to accomplish this; i.e. is there a better way to make use of Wildfly’s jgroups subsystem in my web application?
Yes, there is, the best you can do is make use of the WildFly public clustering API, namely CommandDispatcher API:
wildfly/CommandDispatcher.java at 10.1.0.Final · wildfly/wildfly · GitHub