Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: THEend8_
Purpose: To develop an application with a GUI to display data.
You can complete this part at anytime before the deadline.
While working on your code, the project files and source code (no compiled code) should be stored
in a GitHub repository, so that you are using version control properly.
Marking: This part of the coursework is worth 25% of the module mark.
This follows on from Part II to create a cloud application, where the desktop GUI is replaced with a
web frontend displayed in a web browser. How to create a basic Java web application will be
explained in the lectures.
Core Questions
Q1. Display a list of patient names on a web page. Clicking on a name should show the data for
that patient. This is effectively a version of the example shown in the lectures, with the information
displayed rather better and not just displaying JSON format text.
This should reuse classes like Model from Coursework Part II, making updates as necessary. For
example, a servlet called showPatientList could be implemented to run on the server and wait for
requests via the /showPatients.html URL. The servlet would use the Model, also on the server, to
get the data, build a webpage showing the patient list, and return the html. Better would be to
provide the servlet to receive the request and get the data, then forward to a JavaServer page to
generate the html webpage.
It is up to you how you display the list of names, but as an additional challenge see if you can find
a reasonable way of displaying the names when you have a large number of patients - a web page
showing a list of 10,000 names is not very user friendly! For example, you may have a basic index
showing the letters A-Z, such that when the user clicks on a letter they see just the names starting
with that letter. Or you might use pagination to display a fixed length page of names, allowing the
user to move forwards and backwards within the full list of names.
Inadequate
(0-39)
Failed to demonstrate a basic understanding of the concepts used in the
coursework, or answer the questions. There are fundamental errors, code will not
compile, or nothing of significance has been achieved. (F)
Just
Adequate
(40-49)
Shows a basic understanding, sufficient to achieve a basic pass, but still has
serious shortcomings. Code may compile but doesn’t work properly. Not all
concepts have been understood or the questions answered correctly.(D)
Competent
(50-59)