Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assignment description You are asked to develop a web-based project over three phases. The project should allow you to control an items stock on a

Assignment description

You are asked to develop a web-based project over three phases. The project should allow you to control an items stock on a centralized server in order to update it and to retrieve item stock and price.

The project has two interfaces, one to store new items (item name, stock and price) and another one to retrieve item stock and price from the stock based on an item name.

Phase 1 (GUI) 25%

During this phase you are asked to develop the interface needed to allow stock update and item price and stock query.

You need to develop an HTML page to allow an admin user to add new item by redirecting them to the stock item update page, or for already existing items to redirect them to price and stock query page [5 marks]. You need also to develop two more HTML pages, one page where the user can add item name, price and stock and save them on the server [10 marks]. Another page, where the user query about the stock and price of a specific item by providing an item name. [10 marks]

Phase 2 (Server-side service) 40%

For this phase you need to develop two web-side services (HTTP or restful) using the JAVA programming languages.

One service should respond to the client request (HTML page developed in Phase one) to store new items using item name, stock and price as plain text. You can store them on the serve side in a text file or in a database (it is up to you). [15 marks]

The second service should respond to the client request (HTML page developed in Phase one) to query about an item using its name to retrieve the available stock and price if it exists. [15 marks]

Provide screen shots that shows the execution of both services [10 marks].

Phase 3 (Secure service) 35%

Now, you need to make the communication between the client and the server secure, you can do this by using hash functions.

When the client sends the item name, it only sends a hash [10 marks] of it using a private key that has been previously exchanged between the server and the client though a secure channel.

The same applies when an item query take place, only the item name hash will be transmitted [10 marks].

Screen shots that shows the execution of both secure services. [10 marks]

You are requested to submit one zip file containing all your project folders, we are assuming that you are using NetBeans to develop your TMA, then you are required to send the whole project folder as a single zip file.

Use the following format to name your zip file [5 marks]:

Tm352-TMA-Summer2020-KSA-CenterName-StudentName-ID

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Financial management theory and practice

Authors: Eugene F. Brigham and Michael C. Ehrhardt

12th Edition

978-0030243998, 30243998, 324422695, 978-0324422696

Students also viewed these Programming questions

Question

iupac nume b

Answered: 1 week ago