Question: Write a small Java application that can be used as a client for the given REST endpoint. In detail, you should 1. Create a Java

Write a small Java application that can be used as a client for the given REST endpoint. In

detail, you should

1. Create a Java Class UserDTO that contains the fields id, email, firstName and

lastName.

2. Create a Java Class UserClient that contains a method for querying the first page

of the given REST endpoint. Please make sure that the result is returned as

List.

3. Add a main method to UserClient that calls the above method and also prints the

firstName and lastName of each user to the console.

You are free to choose your favorite libraries or frameworks to achieve the goals looking for guidance and structure can you provide?

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 Databases Questions!