On 12/02/2009, at 9:46 AM, David Jencks wrote:
I think it would be great to get node discovery based on WADI
working. Unfortunately I was in too much of a hurry when I
implemented the plugin based farming to look into how to do this.
Where is your ejb client failover code?
Hi David,
The code is located in the project
plugins/openejb/geronimo-openejb-clustering-wadi
The interesting class is NetworkConnectorMonitor where the method
registerListenerForMembershipUpdates provides to joining peers the
list of OpenEJB deployments currently running along with the network
connector URIs EJB clients can used to access the EJB server running
these deployments.
Reading the code once again, it actually uses the geronimo-clustering
API to track joining/leaving SessionManagers. So, if a
BasicWADISessionManager is installed on admin and farm nodes the same
type of approach may be used.
I can certainly work on swapping the current node discovery
implementation with a WADI implementation. Chance, do you want to
give it a shot?
Thanks,
Gianny
thanks
david jencks