RMI data duplication

firewall <[email protected]> Fri, 19 Dec 2008 03:10:14 -0800
Newsgroups gmane.comp.java.sun.rmi
Message-ID <[email protected]>
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.

I'm sure this can be achieved using a database but I'm trying to keep it
really simple at this stage by just storing stuff in memory..

Any help/useful pointers will be appreciated!
-- 
View this message in context: http://www.nabble.com/RMI-data-duplication-tp21089575p21089575.html
Sent from the Java - RMI mailing list archive at Nabble.com.

===========================================================================
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