Develop the Resource Tier

We will develop the resource (entity) tier in this lesson, which is the first step in the process of developing the service.

We'll cover the following

The next step is the real service development, which involves four main steps:

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

We will start with the entity to the REST service.

First, we create two instances of Person with phone numbers and eventually check for two instances of Person. Next, we do an update and test whether the changes are reflected. Finally, we remove one occurrence and test whether the count is solitary.

Get hands-on with 1200+ tech skills courses.