Ask questions and see you at August, 3rd, 8.PM. CET: https://vimeo.com/event/154379
Also checkout recent episode:
Please keep the questions Jakarta EE-stic. Means: as short and as concise as only possible. Feel free to ask several, shorter questions.
Upcoming airhacks.tv events are also going to be announced at meetup.com/airhacks
I don't see any problem with exposing entities structure because it usually reflects the real world objects. And json-b by default don't serialize null fields, so I won't send any redundant information if I set to null fields which UI doesn't need. That is why I'm interested in Adam's opinion about that. Set one field to null looks more productive than copy other fields to a new object. I think DTO is useful when we need a response with different structure than existing entities or we need some non default json-b mapping.