Question Details

(Solved) Description An exactly-once service will guarantee a client's


hello friend, 

it has a long time for the last assignment you do it for my....


actually I need your help in this assignment, it is java code and the requirements are attached


please tell me if you can do it or not?


Description

 

An exactly-once service will guarantee a client?s request is processed at most once and at

 

least once, provided the client does not fail. Your task in this assignment is to implement

 

an exactly-once service in a client-server system. There is a single server in this system

 

that supports multiple clients. This server must support non-volatile data and must

 

recover from a crash.

 

Connection-less protocols do not guarantee message delivery. The protocol

 

implementation is based on a ?best try?. In this assignment you will design and

 

implement your communication using datagrams.

 

The server?s exactly-once service must implement a data structure that will hold a fiveletter string. Initially the string is blank. When a client sends a successful request to the

 

server, the server will modify its five-letter string in the following manner:

 


 


 

Shift the first four characters of the server string to the right by one character.

 


 


 


 

Store the character transmitted by the client in first slot of the server?s string.

 

For example, the current value of the server string is ?lmnop?. If the client passed

 

in an ?x?, the server would create a new string with the value ?xlmno? and return

 

this string to the client.

 

You must design and implement a test plan for the exactly-once service. This

 

includes error/fault injection. The system must be able to handle a server crash

 

and begin running from the point in which it ended. Thus, you must have a

 

mechanism for starting a clean system as well as a system that has just recovered

 

from a crash. The client and server will display their activities to the screen and

 

contain a logging mechanism.

 


 

1

 


 

Deliverables

 

Client-Server Programs

 

Your ZIP file must include the following:

 

1. A detailed discussion of the methodology you used to implement your clientserver system and a concise and detailed design for the client-server system

 

(methodology and design in one file).

 

2. The Java source files for the system (client & server java, do not submit as

 

packages or jars).

 

3. The class files.

 


 

4. A description of how to install and use your system (keep it simple).

 

5. A test plan and test data.

 

The files must be Virus free and must run in the Sun JRE.

 


 

 


Solution details:

Pay using PayPal (No PayPal account Required) or your credit card . All your purchases are securely protected by .
SiteLock

About this Question

STATUS

Answered

QUALITY

Approved

DATE ANSWERED

Oct 15, 2019

EXPERT

Tutor

ANSWER RATING

YES, THIS IS LEGAL

We have top-notch tutors who can do your essay/homework for you at a reasonable cost and then you can simply use that essay as a template to build your own arguments.

You can also use these solutions:

  • As a reference for in-depth understanding of the subject.
  • As a source of ideas / reasoning for your own research (if properly referenced)
  • For editing and paraphrasing (check your institution's definition of plagiarism and recommended paraphrase).
This we believe is a better way of understanding a problem and makes use of the efficiency of time of the student.

NEW ASSIGNMENT HELP?

Order New Solution. Quick Turnaround

Click on the button below in order to Order for a New, Original and High-Quality Essay Solutions. New orders are original solutions and precise to your writing instruction requirements. Place a New Order using the button below.

WE GUARANTEE, THAT YOUR PAPER WILL BE WRITTEN FROM SCRATCH AND WITHIN A DEADLINE.

Order Now