We have a big web-application and now we are splitting it into two separate applications (say war1 & war2) which will be run on two different servers.
for fail-over we're planning to have two instances of war2 (Say inst1 & inst2).
for communication between war1 & war2 we have zeroed upon RMI.
now the problem is how to cluster it in Tomcat using Spring so that two aspects:
1.) Load balancing
2.) fail over mechanism
could be ensured?