Results 1 to 4 of 4
  1. #1
    enrico96 is offline Member
    Join Date
    Mar 2010
    Posts
    3
    Rep Power
    0

    Default Server replication (Jgroups)

    Hi ,

    I m new in this forum, so sorry if I posted this thread in wrong place.
    I m working on a client/server chat application and I would like to replicate my server so in case it crashes ,the client shouldn't notice the crashing because the connection would be transmited to other server. I know that one way is by using jgroups , but I have know idea how to do it. Can anyone help me on that and give some information?


    Thanks in advance!

  2. #2
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    Location
    New Zealand
    Posts
    4,565
    Rep Power
    12

    Default

    I had never heard of it before, but have you tried the JGroups Tutorial? It describes a crash-proof chat application -

    "The goal of this chapter is to write a simple text-based chat application (SimpleChat), with the following features:

    * All instances of SimpleChat find each other and form a cluster.
    * There is no need to run a central chat server to which instances have to connect. Therefore, there is no single point of failure.
    * A message is sent to all instances of the cluster.
    * An instance gets a notification callback when another instance leaves (or crashes) and when other instances join.
    * (Optional) We maintain a common cluster-wide shared state, e.g. the chat history. New instances acquire that history from existing instances."

  3. #3
    enrico96 is offline Member
    Join Date
    Mar 2010
    Posts
    3
    Rep Power
    0

    Default

    Hi thanks for the link but it didn't help me a lot. I forgot to say that I m using RMI for this application, so I was just wondering if there is any other way to replicate the server. The whole idea is when my server crashes, the connection of the server with the clients must NOT be lost, but has to be transmited to another server (and so on...). In this way the client cannot realize that the server crashes and the most important , all the data are not being lost

  4. #4
    Klauspinto is offline Member
    Join Date
    Mar 2010
    Posts
    3
    Rep Power
    0

    Default

    Replication is a set of technologies for copying and distributing data and database objects from one database to another. With Replication Server, your business can leverage existing applications across multiple locations and geographies.

Similar Threads

  1. Ping a server when server is not in the localhost..
    By kshitiz in forum New To Java
    Replies: 1
    Last Post: 03-19-2009, 10:17 PM
  2. smtp server configuration with jboss server
    By vilas_patil in forum Java Servlet
    Replies: 0
    Last Post: 01-05-2009, 02:18 PM
  3. Looking for JGroups replacement
    By asynchrony in forum Networking
    Replies: 4
    Last Post: 10-17-2008, 11:54 PM
  4. Does any file in an FTP server ends up in an HTTP server?
    By islamfunny in forum CLDC and MIDP
    Replies: 4
    Last Post: 08-15-2008, 05:30 PM
  5. Replies: 2
    Last Post: 07-15-2008, 07:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •