Introduction
The aims of the assignment are:
• To implement web services for making available resources regarding a collection of recipes.
Using Java Reflection and Servlet API
To apply the relevant validation strategies to the grocery, using the Validation Frameworkwe built in Lab 07.
Building Web ServicesYou are required to build the web services to:
(to server): None
o Data Received (from server): JSON array representing all the recipes
be attached to the URL)
o Data Sent: None
o Data Received: JSON object representing the recipe
o Data Sent: JSON object representing the recipe o Data Received: JSON object
representing the recipe
attached to the URL) o Data Sent: JSON object
representing the edited recipe o Data Received:
JSON object representing the newly updated recipe
(to be attached to the URL)
o Data Sent: None o Data Received: None
The URL for all requests should be: http://localhost:8080/recipeWS/recipes
Your program must be tested by Postman.


0 comments