Implement your client-server system

Assignment Help JAVA Programming
Reference no: EM13941116

Description of Assignment

An exactly-once service will guarantee a client’s request is processed at most once and atleast once, provided the client does not fail. Your task in this assignment is t implement an exactly-once service in a client-server system. There is a single server in this systemthat 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.

Deliverables : 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, Required: Running code file.

The solution file contains a description file, running program files in Java and output screenshoot file in a .zip folder.

Verified Expert

The solution consist 3 files, java files has been complete with a word document summary.Its defined that a A datagram is an independent, self-contained message sent over the network whose arrival, arrival time, and content are not guaranteed. Its Running the Server and Client.

Reference no: EM13941116

Questions Cloud

Oscar is the warehouse manager for the oem connection : Oscar is the warehouse manager for The OEM Connection, an auto parts business. Although the business standardized on Windows 7 Professional, Oscar needs to run a legacy parts lookup program that does not run in Windows 7. You provide technical suppor..
Why should a student with a technical or production : Why should a student with a technical or production major take a course in business management?
What do the heritage foundation : What do the heritage foundation and the world economic forum used to rank countries in their report? And which is better to use and why?
What will happen to the price and quantity of cds sold : A recent breakthrough in the production of laser disk technology has decreased the cost of laser disks. These disks supposedly will increase the quality of music recordings tenfold over that available from CDs. What will happen to the price and quant..
Implement your client-server system : 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
What are some real or potential applications : What are some real or potential applications of these concepts?
Why do bond values go down when interest rates : We also looked at expected returns. Why do bond values go down when interest rates go up? Is this true in the opposite direction?
What is the reserve requirement in regard to commercial bank : What is the maturity date of a bond? What is the reserve requirement in regard to commercial banks?
Categorize different scheduling procedures for various types : Categorize different scheduling procedures for various types of service operations, such as restaurants, hospitals, and airlines.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Explain the graphical coordinate system in java where is

question 1 describe the graphical coordinate system in java. where is the origin? what units apply to the xy

  Advantages and disadvantages of inline functions

advantages and disadvantages of inline functions

  Java nearest neighbor algorithm

I need a java class named "Topology" that includes methods "NearestNeighbor" and "RandomNeighbor".

  String as its parameter and returns the length

Write a method named longestWord that accepts a String as its parameter and returns the length of the longest word in the string.A word is a sequence of one or more non-space characters (any character other than the space character).

  Write various bindings to determine semantics

Write the various bindings that are required to determine the semantics when statement is executed. For each binding, indicate binding time used for language. Describe your answer.

  Design a java program that simulates a slot machine

Instead of displaying images, the program will randomly select a word from the following list: Cherries, Oranges, Plums, Bars, and Bells. The program will select and display a word from this list three times.

  Write a java program that uses a search tree of strings

Write a Java program that uses a search tree of strings to sort text lines in alphabetic order. You may choose how you de?ne alphabetic order as long as there is some sense in the de?nition. You may also choose what kind of tree you use.

  Explain the concept of try catch blocks

Why would Java require this? What are some benefits of requiring that exceptions be either explicitly handled or rethrown?

  Allows the user to enter students names followed

Write a program that allows the user to enter students names followed by their test scores and outputs the following information(assume that the maximum nmber of students in the class is 50

  Write a program that asks for the speed of a vehicle

Write a program that asks for the speed of a vehicle (in miles-per-hour) and the number of hours it has traveled.

  Java application prompt user to put in integer from keyboard

Write a java application that performs the following task: prompt user to put in an integer from the keyboard, search for the user input from the array created in step 1.

  Write a java program

To become familiar with how infix expressions can be converted to postfix expressions.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd