My Wildfly 8 domain has two hosts Master and Slave. I need to start my application only on one node at a time. Do I need to implement org.jboss.msc.service.ServiceActivator
for this?
I believe this ServiceActivator
should be implemented in case of standalone servers only.