The path /employees/ provides access to an Employee resource specified by an ID. Four HTTP methods can be invoked: Advanced Programming Assignment, NCI, Ireland

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

cta_question_1

CLAIM YOUR 30% OFF TODAY

X
Don`t copy text!
WeCreativez WhatsApp Support
Our customer support team is here to answer your questions. Ask us anything!
???? Hi, how can I help?