CSCU9YW Assignment 2021 1 University of Stirling Computing Science and Mathematics CSCU9YW - Web Services Assignment – Contact Database Assignment Outline The deadline for handing this assignment is 4pm, Friday, 26th March 2021. Submission will include a recorded video demonstration of your solution. For the submission you should provide your program code (Java sources, WSDL if applicable) as appendixes to a report document discussing the problem, any assumptions you made, and your solution. This last section should be fairly detailed and discuss the structure of your application, main classes, and key coding constructs. The report should include appropriate screen shots of your application and the messages exchanged. The document also should provide details as to how complete your solution is, and if applicable, any special cases when your program is not working correctly. Your report should be critical and reflective in nature. You may want to discuss alternative approaches to implementing certain functionality. Are there better ways to implement features, but you have not used these (e.g. due to time constraints)? Make sure your report is appropriately formatted and structured as a professional technical document. You should submit your work to Canvas. It will consist of a single document including your report and the contents of the source files. Make sure that what you submit does work in some fashion. You can delete or comment out incomplete code before submission. After submission, you should leave your files in the folder untouched, until you are notified of your grade for this assignment. It is important that your program code is thoroughly and intelligently commented. You will lose marks if the code is not sufficiently and usefully commented! Remember, don’t state the obvious. Good comments explain the use of variables, and why certain values are assigned. For this assignment, the web service aspects are especially important and should be commented appropriately. In short, your assignment should consist of: - a cover sheet giving your student number - a report including screenshots of your application - listings of your program code including comments as appendix to the report. CSCU9YW Assignment 2021 2 Plagiarism Work which is submitted for assessment must be your own work. All students should note that the University has a formal policy on Academic Integrity and Academic Misconduct (including plagiarism) which can be found at https://bit.ly/37fYxPw Plagiarism: We are aware that assignment solutions by previous students can sometimes be found posted on GitHub or other public repositories. Do not be tempted to include any such code in your submission. Using code that is not your own will be treated as “poor academic practice” or “plagiarism” and will be penalized. To avoid the risk of your own work being plagiarised by others, do not share copies of your solution, and keep your work secure both during and after the assignment period. Collusion: This is an individual assignment: working together with other students is not permitted. If students submit the same, or very similar work, this will be treated as "collusion" and all students involved will be penalized. Contract cheating: Asking or paying someone else to do assignment work for you (contract cheating) is considered gross academic misconduct, and will result in termination of your studies with no award. Plagiarism means presenting the work of others as though it were your own. The University takes a very serious view of plagiarism, and the penalties can be severe. We check submissions carefully for evidence of plagiarism, and pursue the cases found. Penalties range from a reduced grade, through a Fail grade for the module, to being required to withdraw from studies. Assignment Problem The aim of this assignment is to create a web service that acts as a contacts database. You may use any web service technology you like: SOAP, REST based on javax (lab4), REST based on Jakarta EE, and REST based on Spring io. For REST services you may use URI parameters, XML or JSON for transferring data to/from the service. For SOAP you may use RPC or Document literal encoding. For SOAP and REST based on javax service and client should be provided. For Jakarta and Spring the service is expected together with a record of requests to exercise the service. Credit will be given for a basic web interface to interact with the service. In any case, a basic UI for the client is sufficient, the focus for this assignment is on the web service element. CSCU9YW Assignment 2021 3 The Contacts Service The contact database service should store details of people in a java data structure such as a HashMap (or external database if you prefer). Each person’s detail should include name, firstname, address (street, town/city, postcode), and telephone number. You can assume that the telephone number is unique and thus can be used to identify a contact. The webservice should provide methods to retrieve, add, edit, and delete contacts. Advanced features may include interacting with a group of contacts (e.g. all contacts in a specific town, counts of edits of contacts etc). You may also try and may your web service more robust handling potential error cases (adding an already existing contact, deleting one which does not exist). Some credit will be available for such features. Assessment Criteria In this assignment we shall be assessing your work with respect to: Complexity of solution Correctness of operation Appropriate use of programming constructs Intelligent code comments Clear and comprehensive report Consistency, legibility and tidiness of program layout 30 % of the marks are reserved for the report. The remaining 70% are allocated for the code and comments. Handing In Hand-in will be on Friday, 26th March 2021 at 4pm. Your submission should include a single document including the report and all of your code. The title page should include your student number but not your name. Demo videos will benefit from a commentary on key features of your solution. Late submission If you cannot meet the assignment hand in deadline and have good cause, please see Dr Mario Kolberg to explain the situation and ask for an extension. Coursework will be accepted up to seven days after the hand in deadline (or expiry of any agreed extension), with the mark being lowered by three points per day. After seven days the work will be deemed a non-submission and will receive an X (no grade). Backups: You are advised to make backup copies of your work regularly.
欢迎咨询51作业君