Need a java developer -- 3
Budget: ₹600 – ₹1,500 INR
to implement a Graphical User Interface (GUI) or Command-Line
Interface (CLI) based networked distributed system for a group-based client-server communication,
which conforms with the following requirements. When a new member joins (connects), he/she may
provide the following parameters as an input (i.e., command-line parameters or parameters set via
the GUI):
1. an ID (please ensure that each member is assigned a unique ID),
2. a port and IP address of the server, and
3. its IP address and optionally a port it will listen to.
If a member is the first one in the group, the member must be informed about it at start-up. Then this
member will become the coordinator. Any new member will request details of existing members from
the server and will receive everyone's IDs, IP addresses and ports including the current group
coordinator. After this, the new member can contact everyone (through the server) to let them know
that they can update their set of members to include the new member. In case some of the members
do not respond, it will inform the server about this, and the server will inform other members to update
their local list of existing members. However, if the coordinator does not respond, then any new
member will become a coordinator. The coordinator maintains state of group members by checking
periodically how many of them are not responding and informs active members about it so that they
can update their state of members. Everyone should be able to send private or broadcast messages
to every other member through the server. The system should print out messages sent to/by the
members.
Importantly, your implementation can either run automatically or manually. In the former case, your
program may simulate the above task automatically without accepting any input parameters from
users while running. For instance, a client and server may exchange different messages periodically.
In the latter case, your program requires user input to simulate the task. For instance, a user will
type a message from a specific client to send it to other members or server. Any member can quit
by a simple ctrl-C command (CLI) or having a Quit button (GUI).
For further details about the technical background required for the task, please see lecture material,
or ask the instructors.
The project implementation must demonstrate the following programming principles and
practices, which contribute directly to the final grade:
• Modularity using design patterns
• JUnit based testing of the application
• Fault tolerance
• Component based development
1) You should run a server and three clients, where one of them is coordinator
2) Demonstrate how the coordinator works
3) Send a message from one of the clients and reply to it back (show private
messaging and broadcast messaging).
4) Quit one client (NOT coordinator) and show the rest two can still communicate
5) Run another client
6) Quit coordinator now and demonstrate that new coordinator is automatically
selected
Implementation Inspection
1) Highlight the code in your implementation that implements different design patterns.
2) Highlight the code in your implementation that implements different components.
3) Highlight the code in your implementation that implements different JUnit tests.
Interface (CLI) based networked distributed system for a group-based client-server communication,
which conforms with the following requirements. When a new member joins (connects), he/she may
provide the following parameters as an input (i.e., command-line parameters or parameters set via
the GUI):
1. an ID (please ensure that each member is assigned a unique ID),
2. a port and IP address of the server, and
3. its IP address and optionally a port it will listen to.
If a member is the first one in the group, the member must be informed about it at start-up. Then this
member will become the coordinator. Any new member will request details of existing members from
the server and will receive everyone's IDs, IP addresses and ports including the current group
coordinator. After this, the new member can contact everyone (through the server) to let them know
that they can update their set of members to include the new member. In case some of the members
do not respond, it will inform the server about this, and the server will inform other members to update
their local list of existing members. However, if the coordinator does not respond, then any new
member will become a coordinator. The coordinator maintains state of group members by checking
periodically how many of them are not responding and informs active members about it so that they
can update their state of members. Everyone should be able to send private or broadcast messages
to every other member through the server. The system should print out messages sent to/by the
members.
Importantly, your implementation can either run automatically or manually. In the former case, your
program may simulate the above task automatically without accepting any input parameters from
users while running. For instance, a client and server may exchange different messages periodically.
In the latter case, your program requires user input to simulate the task. For instance, a user will
type a message from a specific client to send it to other members or server. Any member can quit
by a simple ctrl-C command (CLI) or having a Quit button (GUI).
For further details about the technical background required for the task, please see lecture material,
or ask the instructors.
The project implementation must demonstrate the following programming principles and
practices, which contribute directly to the final grade:
• Modularity using design patterns
• JUnit based testing of the application
• Fault tolerance
• Component based development
1) You should run a server and three clients, where one of them is coordinator
2) Demonstrate how the coordinator works
3) Send a message from one of the clients and reply to it back (show private
messaging and broadcast messaging).
4) Quit one client (NOT coordinator) and show the rest two can still communicate
5) Run another client
6) Quit coordinator now and demonstrate that new coordinator is automatically
selected
Implementation Inspection
1) Highlight the code in your implementation that implements different design patterns.
2) Highlight the code in your implementation that implements different components.
3) Highlight the code in your implementation that implements different JUnit tests.
Related categories:
PHP
C Programming
Business, Accounting, Human Resources & Legal
JavaScript
Software Architecture