Cut-Off Date: –/–/—-.
Total Marks: 100 marks turned to 15 marks Contents
Warnings and Declaration…………………………………….……………………………………1
Phase 1 ……………….…………………………………. …………………………………………2
Phase 2 ………………………………………………………………………………….………….2
Phase 3 ……………………………………………………………………………………………..3
Marking criteria …………………………………………………………………………………….3
Plagiarism Warning:
As per AOU rules and regulations, all students are required to submit their own TMA work and avoid plagiarism. The AOU has implemented sophisticated techniques for plagiarism detection. You must provide all references in case you use and quote another person’s work in your TMA. You will be penalized for any act of plagiarism as per the AOU’s rules and regulations.
Declaration of No Plagiarism by Student (to be signed and submitted by student with TMA work):
I hereby declare that this submitted TMA work is a result of my own efforts and I have not plagiarized any other person’s work. I have provided all references of information that I have used and quoted in my TMA work.
Name of Student:…………………………….. Signature:…………………………………………… Date:…………………………………………………
Application Service Scenario
Develop a service-based distributed web application that is part of “OnlinePlant” system. It records all of the transactions (selling and buying) of different types of plants and keeps track of the number of plants available in store. The system user could sign in as a store employee (seller), buyer, or as a system administrator.
The system contains the following components: a web application with SOAP services for selling, buying and retrieval processes and a Restful service for viewing and searching the available plants in the store through a web client and SOAP client at the store employee (seller).
1.Phase 1 (client-side) [30 marks]
At phase 1, develop the client-side interface to ensure that SOAP services are accessed properly via a java application and RESTful service is accessed via a web browser
For store employee (seller) [10 Marks]
1.The employee should be able to issuing receipts either for the customers need to buy a plant or those need to retrieve plant details such as type of plant, name of plant, age of plant, and the prize.
For buyer [5 Marks]
1. The buyer should be able to view the plant details and place an order.
For system administrators: [15 Marks]
1.After a successful login process, system administrator should be able to view all available plants in the store.
2. System administrator should be able to search for a specific plant by name or by age or by price.
.
Hint: Provide the necessary attributes and GUI interfaces and use the necessary communicating protocol.
2.Phase 2 (Server-side service) [60 marks]
At phase 2, develop web-side services using the JAVA programming languages. For each task required in phase one, you should provide the appropriate service using JAVA and provide the required security for only Restful service to grant access only to authorized users. [15 Marks each]
Here are some details regarding the functionality of some services:
View all available plants in store: this service should retrieve available plants in store that exist in a file (JSON format) on the server side.
Add a transaction: this service should reduce the number of existing plants according to the applied transaction; modifying the JSON file accordingly. If the number of plants from a specific type of plant reached the lower limit of that plant, the plant details should be stored in an “fast_selling” file (JSON format).
Delete a transaction: this service should update the various associated file(s) after applying a retrieval request.
Search for plant in store: this service should enable the system administrator to search for plant in store by any of their attributes.
Hint:Use the appropriate presentation format to save and read the necessary attributes to and from file.
3.Phase 3 (Using Cloud services) [10 marks]
1.The system is to be deployed over the Cloud for saving organization the cost of servers and other equipment and make use of remote resources. Answer the following with justification: Which cloud deployment model should be used. [4 Marks]
2.Design an architecture for the above application services showing its components and interaction between the components. [6 Marks]
Instructions:
1.Submit two files
a.one zip file containing all the project’s folders, 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:
TM352-TMA-FALL-23_24-Branch-StudentName-ID
b.Put in a word file
1. Phase 1 and Phase 2 codes of client side, the operations of the web services as well as screenshots after running each service.
2. Needed xml files.
3.Answers of Phase 3.
Use the following format to name your word file:
TM352-TMA-FALL-23_24-Branch-StudentName-ID.docx
Note:
1. Violating the instructions would cause mark deduction.
2. Plagiarism policy is strictly applied in marking this TMA.
2. Fail to submit the Project File (Zip file) will deduct 50% of TMA marks.
3. Fail to submit the Word File will deduct 50% of TMA marks.
4. Every day late submission (after the due date) will deduct 10% of TMA marks.
Place this order or similar order and get an amazing discount. USE Discount code “GET20” for 20% discount