Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Homework Help/Study Tips Expert

Develop a simple client/server system to query students,

A Simplified Client/Server Information Query System

Java multi-threading model and client/server model are the fundamental Java components to build distributed applications. In this assignment, you are to develop programming skills of these components or models via a particular application - a simplified client/server information query system. The Java multithreading and client/server components have been introduced through weekly lectures, tutorials and lab projects of this unit; you should ensure that you have good understanding of these learning materials before you start this assignment. In this assignment, you will need to integrate what you have learnt to develop a simple client/server system to query students, subject units and unit enrolment information.

Part 1: Query client and query server design and implementation

1. The query client is a query frontend application, running in a network computer and providing options to:
- Query students' contact details
- Query students' enrolled units
- Query unit details

The query frontend client provides a menu to let a user choose any of these options continuously until the user chooses to exit the system. Once it accepts an option and related information, it will send a query request to the remote server. The client accepts the response from the server and displays the query results to the user. To construct such a client, you will need to use Java UDP datagrams to encapsulate the user's request and a Java UDP datagram socket to communicate with the remote server. The interface of a reference implementation of such a query client is shown in Fig 1.

2. The query server is running on another network computer, accepting and parsing a client's request to interpret the query. The server can distinguish the above 3 different query options. For each request it receives, the server creates a thread to complete the query and sends the result back to the query client. To be consistent with the client, the server needs to use Java UDP datagrams to encapsulate a query result and a Java UDP datagram socket to communicate with the remote client. The interface of a reference implementation of such a query server is shown in Fig 2. Please note the server's output in Fig 2 is to display some queries and results for understanding purpose but not essentially necessary. That is, the server does not have to output anything on a terminal.You will need to design and implement the query client, query server and associated student, subject unit and enrollment entities and processing threads by using standard Java language.

338_Fig.jpg

Fig 1. The interface of query client

393_Fig1.jpg

Fig 2. The interface of query server

Note: you do not need 2 computers to test the system; you will need to run the query cleint and query server on 2 Java Virtual Machines (JVMs) of a physical machines as illustrated in Fig 1 and Fig 2.

Part 2: Documentation

After the implementation of the framework, prepare a document to include:

1. An end user' instruction about how to compile, run and test your system.

2. The limitations of the current system and suggestions for future improvement.

Homework Help/Study Tips, Others

  • Category:- Homework Help/Study Tips
  • Reference No.:- M92758502
  • Price:- $70

Priced at Now at $70, Verified Solution

Have any Question?


Related Questions in Homework Help/Study Tips

Choose one content area social studies science math or the

Choose one content area (social studies, science, math, or the arts) and select an appropriate standard or standards. Write one content and one language objective aligned with the content area standard. List three format ...

Question with mandates stemming from emtala to provide

Question: With mandates stemming from EMTALA to provide health care, regardless of the patient's ability to pay, what safeguards should you consider to ensure departmental solvency? The response must be typed, single spa ...

Question 1can you tell us about yourself2what are your

Question: 1. Can you tell us about yourself? 2. What are your strengths that would help you in this position? 3. What are your weaknesses? How are you trying to improve them? 4. Why did you apply for a job with our compa ...

Assignment e-learningwrite a four to six 4-6 page paper in

Assignment : e-Learning Write a four to six (4-6) page paper in which you: Define e-Learning. Summarize at least five (5) significant developments in e-Learning over the past ten (10) years. Evaluate at least three (3) t ...

Question what are some red flags that would indicate client

Question: What are some red flags that would indicate client resistance? How can you most effectively deal with resistance? Will a client with substance use disorder be more resistant than a client with a general mental ...

Question choose one of the four following visuals1 image

Question: Choose one of the four following visuals: 1. Image courtesy of: Nike® 2013 advertisement 2. Image courtesy of: Parents magazine June 2011 3. Image courtesy of: Harley Davidson® advertisement 4. Image courtesy o ...

Question in 2-3 pages1 explain what scholars mean by the

Question: In 2-3 pages, 1) Explain what scholars mean by "the social construction of gender." This should be in your own words. Imagine you are explaining it to a family member or friend who is not taking this course. 2) ...

Question you should now come up with a list of questions

Question: You should now come up with a list of questions you can ask your interviewee keeping in mind that you need to gather as much information as possible. To start, you may want to go with the obvious "what is your ...

Quesiton instructions for this assignment you are to ponder

Quesiton: INSTRUCTIONS: For this assignment, you are to ponder some reflection questions before listening to the lecture component. These questions aim to stimulate your thinking and focus your concentration on the topic ...

You will study a specific incident in which a real-life

You will study a specific incident in which a real-life hazard changed the emergency management profession in some way. This week you will choose the hazard, an incident that occurred either in the United States or elsew ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As