The path /employees/ provides access to an Employee resource specified by an ID. Four HTTP methods can be invoked: Advanced Programming Assignment, NCI, Ireland
University | National College of Ireland (NCI) |
Subject | Advanced Programming |
Learning Objective
- Explain the theory, concepts, and principles of distributed systems operation and design
- Compare and contrast the methods, theories, and concepts of Web Services
- Demonstrate conceptual and technical skills in the analysis, design, implementation, and management of systems and applications based on web services and REST web services.
Question 1
The path /employees/ provides access to an Employee resource specified by an ID. Four HTTP methods can be invoked on this resource. Your task is to draw a similar table to the following on your paper and fill all corresponding fields which allow performing those four HTTP operations. For each operation, you need to write three types of annotations.
Question 2
In the given following scenarios, identify the type of web services that can be designed
1) Developer only wants to use HTTP as the transfer protocol and NOT any other protocol
A. REST,
B. SOAP
C. Both
2) Developer only wants to represent messages using XML and NOT any other
representation
A. REST,
B. SOAP
C. Both
3) Developer wants to utilize his expertise in JAX- RS
A. REST,
B. SOAP
C. Both
4) Company providing web services wants to enforce a formal contract [3 marks]
A. REST,
B. SOAP
C. Both
5) Client wants to access an object on a server, but the client does not always use the web
A. REST,
B. SOAP
C. Both
Question 3
Suppose you are developing a REST-Full API for managing a payroll system for employees working in a company. In that company, employees are being paid on different scales. For such a payroll system, associate HTTP verbs to perform the following 5 scenarios.
- Get a list of all employees
- Register a particular employee for a pay scale
- Get all the employees who have registered for any particular pay scale
- Delete the record of pay-scale details
- Update the pay scale of an employee
Are You Searching Answer of this Question? Request Ireland Writers to Write a plagiarism Free Copy for You.
Are you finding it difficult to keep up with the academic pressure of assignments in Ireland? Worry not because Ireland Assignments is here! With our online exam helpers, you have access to a team of experienced professionals who are ready to answer all your queries and guide you every step of the way. So why wait? Get online help today and leave your worries behind!