Implementation of the framework prepare a document to


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.

Solution Preview :

Prepared by a verified Expert
Dissertation: Implementation of the framework prepare a document to
Reference No:- TGS02715318

Now Priced at $70 (50% Discount)

Recommended (96%)

Rated (4.8/5)