I am currently using java RMI for a client server style architecture however I want to replicate the servers using JGroups and as I have never dealt with replication before I was wondering what options do I have with RMI to switch connection between two servers when one dies given passive replication and how will I know as soon as the connection drops or how to send a request to all servers at once given active replication?
Thanks a lot, any links with more info would be greatly appreciated as I can currently only seem to find information on non replicated client-server interaction.
Thanks