-
1. Re: EJB Cluster Configuration Wildfly 10
pferraro May 2, 2016 1:04 PM (in response to sixtdeu)In WF10, your @Stateful EJBs will automatically be clustered when deployed using an HA profile. This behavior can be disabled per bean via the @Stateful(passivation-capable=false) annotation (or via respective deployment descriptor).
-
2. Re: EJB Cluster Configuration Wildfly 10
sixtdeu May 3, 2016 2:25 AM (in response to pferraro)Thanks Paul, but it's not enough for me to understand it completely. A "Profile" is only a set of miscelaneous configuration snippets and so on. There are some differences between the ha config and a non ha. There are the jgroups and modcluster subssystems, some config in infinispan and so on. Which of them ist "the one" who is responsible for switching the clustering of the ejb on and off?
Thanks
-
3. Re: EJB Cluster Configuration Wildfly 10
pferraro May 4, 2016 11:00 AM (in response to sixtdeu)The configuration for @Stateful EJBs is found in the ejb3 subsystem configuration.
The non-ha profiles use cache-ref="simple", whereas the ha profiles use cache-ref="distributable".
-
4. Re: EJB Cluster Configuration Wildfly 10
sixtdeu May 4, 2016 12:20 PM (in response to pferraro)Thank you Paul!