Question: Part 1 : Creating the database 1 . Using the PHPMYADMIN, create a MySQL database called webserviceproject, Part 2 : Web Service Creation 1 .

Part 1: Creating the database
1. Using the PHPMYADMIN, create a MySQL database called webserviceproject,
Part 2: Web Service Creation
1. Create a new project using the template "Spring Initializr: Create a Maven Project" by following the steps in Lab6 from 1-14(Creating the first project section).
2. Create your selected
3. Create the java interface "[Entity]Service". If the entity is Book, this interface name will be BookService.
4. Create the java class "[Entity]Controller". If the entity is Book, this class name will be BookController
5. Add the following five operations to the controller class:
- create: inserts a new record into the database
- readQne: retrieves one record from the table by its ID
- read: retrieves all the records from the table
- update: updates a user in the database by their ID
- delete: deletes a user from the database by their ID
6. Run the application
7. Add some records to your table.
Part 3: Web Service Consumption
1. Test your service using Postman.
2. Take a screenshot for each method invocation
Part 1 : Creating the database 1 . Using the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!