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

  Discuss how using arrays changes the way

Discuss how using arrays changes the way that your code is organized.

  Java class that represents your favorite musical instrument

Create your own Java class that represents your favorite musical instrument. Your musical instrument class should have at least 3 constants, 4 private data fields, getters and setters for each private data field, a toString() method

  Declare identifiers for grade point and letter grade

This program focuses on some basic elements of interactive programming as well as basic programming practices. Declare identifiers for grade point and letter grade. The grade point can be either an integer or a double

  Design the logic and write the rest of the program

Design the logic and write the rest of the program using a nested statement.  They are using JOptionPane.showInputDialog.

  What is the output of the following program explain

What is the output of the following program? Explain. Explain the meaning of the reserved word this and why it is necessary in the class below. Will the class compile without using this

  Determine various currents and voltages

1. To troubleshoot a complex circuit and determine various currents and voltages using mesh analysis. 2. To simulate the complex circuit in MultiSim and record the required quantities.

  Java gui application

Assume the existence of the following Java GUI application. There are two text fields for user input. The first JTextField variable is named radius and is used to input a radius value.

  Describe the steps to program development

What is the function of parseFloat and parseInt and what will be result if we send "abcd" through a prompt() input and pass it through parseInt()?

  Implement a distributed banking application

In the first part, you will implement a distributed banking application. The distributed bank has multiple branches. Every branch knows about all other branches.

  Find the errors in the code

You may assume that the following statements precede those in the table below:

  Locate the errors in the following code

Locate the errors in the following code

  Build the gui layout of the gamecreate a class called

build the gui layout of the gamecreate a class called pipegameapp.java which will be the main game user interface. the

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