The Metro implementation of JAX-WS (that GlassFish uses) can easily be configured to use MOXy as the JAXB provider.
In WebLogic as of version 12.1.1 MOXy is the default JAXB implementation (including the one used by JAX-WS).
For any other JAX-WS implementation where MOXy can't be configured as the JAXB provider it can be used via the Provider
mechanism: