Modify the chat program to use multithreading

Assignment Help Computer Engineering
Reference no: EM132158461

Question: Programming Assignment

Client-Server

1) Write a client socket program to communicate with EchoServer.java program from chapter 9 of Java Network Programming.

2) Modify the Chat program to use multithreading.

3) Write a phone book server, and a client that goes along with it.

The server should wait on a well-known port, waiting for a connection from a client. The server understands two commands, "PUT name phoneNumber" and "GETname". The PUT operation adds the name and phone number to a hashtable.

The server read information (name, phone#) from a file "phone.txt" and store them in a hash. This means that the phonebook server will start off with entries from the file, and have entries added to it as users interact with the phonebook. When the server shuts down, all the entries should be saved in the file.

The client should add several entries to the phonebook, then retrieve a few. It should also attempt to retrieve an entry that doesn't exist, and send a command that the server does not understand. (That is, something besides GET or PUT.)

Reference no: EM132158461

Questions Cloud

What is an example of business intelligence : What is an example of business intelligence? Does it have to show the relation between two or more things, or can it just be based on the decision behind one
What is child labor : What are some aspects of globalization and capitalism that have contributed to the economic abuse of children in developing countries?
Compare two strings input by the user : The program should input the number of characters to be compared, then display whether the first string is less than, equal to or greater than the second string
Write a user input program using if else statements : Write a user input program using if else statements ONLY name of program "Magic number" the user will try guess the Magic number.
Modify the chat program to use multithreading : Write a client socket program to communicate with EchoServer.java program from chapter 9 of Java Network Programming.
Prepare one of the most-useful spreadsheets : ITEC - 200 - Excel Budget Report - compute the first ratio: profit (after tax) to revenue rate in cell B36. This is an important rate of the profitability
Challenging aspects about adopting and supporting standards : What you consider to be the two most challenging aspects about adopting and supporting standards in wireless networking or wireless technologies.
Interpreted by reasonable minds in one of two ways : A contract term could be interpreted by reasonable minds in one of two ways - and the rules of construction don't help.
Develop and comment on an it planning process : Develop and comment on an IT planning process for ModMeters to accomplish the demands as set out in the ModMeters case study.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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