Develop the Resource Tier

We'll cover the following

The final step is the service development which involves the following four steps:

  • Creating the entity
  • Creating the data access tier
  • Creating the business service tier
  • Creating the JSON based REST service

We will start with the entity and go up to the REST service.

First, we create two instances of Client and then check to see if two instances exist. We also update and test whether the changes were recorded. Next, we remove one occurrence and check to see if the count is one. Finally, we add two instances of Account and associate them with the remaining instances of Client. The test results should yield two occurrences of Account related to the Client.

Get hands-on with 1400+ tech skills courses.