Re: RMI data duplication

Niclas Hedhman <[email protected]> Sat, 20 Dec 2008 14:31:57 +0800
Newsgroups gmane.comp.java.sun.rmi
Message-ID <[email protected]>
On Fri, Dec 19, 2008 at 7:10 PM, firewall <[email protected]> wrote:
> Hi all, I'm currently working on a simple client/server application using
> Java RMI. At the moment I have the client servlet communicating ok with the
> server. For instance, if a user enter's their name on the client, it's sent
> to the server and stored in memory. Now I'm trying to include a second
> (backup) server so that the data held on the 'primary' server is
> copied/replicated to the second server as well for fault tolerance. But I
> haven't got a clue on how to go about this. Put another way, I'm trying to
> make RMI calls between the main server and backup server so that they have
> same data.

The primary server will just act as a client to the backup server.
Repeat what you have already done.


Cheers
Niclas

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff RMI-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

For a list of frequently asked RMI questions please refer to:
http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html

To view past RMI-USERS postings, please see:
http://archives.java.sun.com/archives/rmi-users.html