Jun 18th, 2009, 10:34 PM
RMI Clustering using Spring
I'm new to Spring and developing a beginners' application for myself.
I've developed two web applications(say war1 & war2) using Spring and deployed those on Tomcat on two different machines.
I want a mechanism with which they can communicate to each-other.
I chose RMI for the same.
The problem arises when I want to implement a fail-over cum-loadBalancing mechanism by keeping two instances of war2 (say ints1 & inst2). So that if inst1 is down or busy, RPC hits inst2 and vice-versa.
Can anybody help me implementing same in Spring?
Any help will be highly appreciated.
Thanks in advance,
Tags for this Thread