The monolith application couldn't be simpler: just a project with two services using two beans to manage two entities. If you want to understand what is happening there regarding JAX-RS, CDI, and/or JPA, check the relevant recipes earlier in this book.