• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 425
  • Last Modified:

Re: Network protocols

Hi guys. i am implementing a bully algorithm ( leader election in distributed systems).  i have managed to implement the process in java using four different classes. and it works

My question is.

i want to put each process on different computers. so i would i have four computers serving as a server.

 How can i connect four computers together to form a network. using windows

if i could connect this computers together then i can run each processes on each machines and get them to talk to each other.

i think it can be done using sockets?/  

pls can any suggestions would help

  • 2
2 Solutions
Well, one of the options would be Java Remote Method Invocation (Java RMI)
which is very efgfective and simple to implement solution for distributed computing in Java

These are some RMI links:




You can of course use different other solutions, like web services, etc.
In my experience however RMI was the simplest to implement and in many senses
it is more effective than other ways, especially if all of your interacting processes
are implemented in Java

You might find broacasting/multicasting makes this easier:

QlemoBatchelor and DeveloperCommented:
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Managed Security Services Webinar - March 15

Selecting the right managed security services platform to grow your business can be a huge undertaking. Join WatchGuard and Frost & Sullivan in an upcoming webinar as we dive into the key elements of selecting a vendor platform and partnership to fuel a successful MSSP business.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now