It is much more advisable to discuss problems and solutions with the help of a working example. Therefore, we will create a basic application to handle tickets (without any workflow), which we will expand throughout the course of this chapter.
The application will initially be implemented by the following RESTful web services:
TicketService: Create, read, update, and delete tickets.
CommentService: Administer comments of tickets (create, read, update, and delete).
Whenever you are dealing with multiple entities it is a good idea to use the rule of thumb and separate the services based on the handled entities.
The implementation of this example has been done by following the Test Driven Development (TDD) approach. It's done ...