Reference no: EM131407219
Assignment
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 five- letter 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.
Client-Server Programs
Your ZIP file must include the following:
1. A detailed discussion of the methodology you used to implement your client-server 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.
Demonstrate ethical practices in project management
: This is one of the most important steps to help you prepare for the term paper. The goal for the literature review is to understand what is already published about Project Managers and Leadership, Ethics, and Technology. You should use the library..
|
What conditions is it appropriate to use normal distribution
: When carrying out a hypothesis test for a population proportion, under what conditions is it appropriate to use the normal distribution as an approximation to the (theoretically correct) binomial distribution?
|
What is the marginal cost
: Suppose the bobby pin industry is perfectly competitive. The price of a packet of bobby pins is $2.00. What is the marginal cost of the 1,000th packet? Is this firm making an economic profit, a normal profit, or an economic loss? How much
|
Identify a research topic approved by your instructor
: Identify a research topic approved by your instructor as a basis for completing an action research proposal. Submit a 6,000- to 7,750-word paper in APA style including proper citations.
|
Design and implement a test plan
: 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.
|
How can metallic coatings be plated onto a rubber sheet
: Shiny, metallic balloons have festive printed patterns that are produced by printing screens and are then plated onto the balloons. How can metallic coatings be plated onto a rubber sheet?
|
Comment on the credibility of the suppliers claim
: The supplier claims that no more than 2% of the items in the shipment are defective. Carry out an appropriate hypothesis test and comment on the credibility of the supplier's claim.
|
What resource shortfall precludes a more effective response
: What are the traditional and practical approaches for the agency's dealing with the problem?Why is/has there been a reluctance to change approaches/strategies?What motivations would be required to affect a different approach or strategy (other that..
|
How many full page and half page advertising
: Write an outline of what is in the newspaper that day. For example; how many full page and half page advertising? How many pages for obituaries? How many pages for sports?
|