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

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

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