Boss delivers a set of libraries as modules.
To use them you should reference them either in:
- MANIFEST.MF
- jboss-deployment-structure.xml
Those libraries can be publicly or privately exposed, as per https://access.redhat.com/articles/1122333.
The list includes:
- CXF 2.7.x
- RestEasy
- JBossWs
To use your custom stack as a JAXWS/RS implementation, you should specify in the jboss-deployment-structure.xml to:
- exclude webservices/jaxrs subsystem
- exclude JEE support: JAXRS is part of JEE specs and is a dependency of JEE
- exclude RestEasy and CXF modules
- eventually include, one-by-one, all the JEE dependencies you are going to use in your stack (eg. servlet)
An example app using the Jersey stack is here.
https://access.redhat.com/solutions/676573