Results 1 to 4 of 4
Thread: Server replication (Jgroups)
- 03-13-2010, 10:13 PM #1
Member
- Join Date
- Mar 2010
- Posts
- 3
- Rep Power
- 0
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!
- 03-13-2010, 10:37 PM #2
Moderator
- Join Date
- Feb 2009
- Location
- New Zealand
- Posts
- 4,547
- Rep Power
- 11
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."
- 03-13-2010, 11:28 PM #3
Member
- Join Date
- Mar 2010
- Posts
- 3
- Rep Power
- 0
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
- 03-18-2010, 06:31 AM #4
Member
- Join Date
- Mar 2010
- Posts
- 3
- Rep Power
- 0
Similar Threads
-
Ping a server when server is not in the localhost..
By kshitiz in forum New To JavaReplies: 1Last Post: 03-19-2009, 09:17 PM -
smtp server configuration with jboss server
By vilas_patil in forum Java ServletReplies: 0Last Post: 01-05-2009, 01:18 PM -
Looking for JGroups replacement
By asynchrony in forum NetworkingReplies: 4Last Post: 10-17-2008, 10:54 PM -
Does any file in an FTP server ends up in an HTTP server?
By islamfunny in forum CLDC and MIDPReplies: 4Last Post: 08-15-2008, 04:30 PM -
Web-App server connection - How to hit the particular app server from the web server
By maruthi_s in forum Enterprise JavaBeans (EJB)Replies: 2Last Post: 07-15-2008, 06:11 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks