Java EE 7 introduced parameter validation for managed beans (CDI / EJB).
This feature can be used to implement a ConstraintValidator for JsonObject parameters of JAX-RS resources:
See you at Java EE Workshops at Munich Airport, Terminal 2 or Virtual Dedicated Workshops / consulting. Is Munich's airport too far? Learn from home: airhacks.io.
NEW online workshop: WebStandards Igniter (online)
Airport MUC workshops: Java EE 7: Bootstrap, Effective, Architectures, Web, React and Angular, Testing and Microservices
A book about rethinking Java EE Patterns