About dependency choice:
Wildfly + Resteasy is the best stack for production and it is from Red Hat
- krazo-resteasy - is an extension for Wildfly
- krazo-cxf - is an extension for TomEE
- krazo-jersey - is an extension for Glassfish and Payara
Even though RestEasy is used for prod, Jersey is easier to setup in test environment,