January 2018
Intermediate to advanced
350 pages
9h 7m
English
If we step back one second and think about which stopover the application will execute, we can identify a few of them:
Because of the separation of concern principles, or simply for technical constraints between layers, it is very common to use a Data Transfer Object between the JAX-RS/front layer and the CDI/business layer. Of course, this statement can be applied to the business sub-layers as well, but in the case of this book, we will just do it in the JAX-RS layer. To make it obvious in the book, we will prefix the JAX-RS model with Json. Check out the following code snippet:
@JsonbPropertyOrder({"id", "name", "customerCount"})public class ...