Reverse Proxy EJB3 Calls?

34 views
Skip to first unread message

Calum Gardiner

unread,
Oct 23, 2017, 4:50:07 AM10/23/17
to Payara Forum
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?

Lenny Primak

unread,
Oct 27, 2017, 3:14:05 PM10/27/17
to Payara Forum
I think this can be managed with very limited client changes, i.e. adding environment variables to InitialContext()
I believe other Payara clients have successfully done so.
I also believe Payara's CORBA supports at least round-robin load balancing
Reply all
Reply to author
Forward
0 new messages