I'm looking at clustering an existing application deployed to Payara which uses a spoke and hub architecture.
[client] ---<https jax-ws>---> [spoke payara] ---<ejb3 rmi-iiop>---> [hub payara]
Typically the spoke servers talk to the hub using EJB3 (RMI-IIOP) calls but if both the spoke and hub servers were replaced with clusters then the calls between the clusters would need to be balanced in some way.
[client] ---<https jax-ws>---> [apache] ---<https/ajp jax-ws>---> [spoke payara] ---<ejb3 rmi-iiop>---> [???????] ---<???????>---> [hub payara]
I've read the high availability administration guide on load balancing RMI-IIOP but would prefer if there was no client changes, is it possible to load balance like HTTP calls where the balancing is done transparently through a load balancing server?