Ce contenu n'est pas disponible dans la langue sélectionnée.
Chapter 4. Apache CXF Issues
4.1. Summary of Apache CXF 2.6.0 to 2.7.0 Migration Copier lienLien copié sur presse-papiers!
Copier lienLien copié sur presse-papiers!
Overview Copier lienLien copié sur presse-papiers!
Copier lienLien copié sur presse-papiers!
JBoss Fuse uses Apache CXF 2.7.0. Since the last release, Apache CXF has been upgraded from version 2.6.0 to version 2.7.0. This introduces a few migration issues.
Upgrading JAX-RS endpoints to JAX-RS 2.0 without recompiling Copier lienLien copié sur presse-papiers!
Copier lienLien copié sur presse-papiers!
If you have compiled your application bundles against the JSR-311 (JAX-RS 1.1) API and would like to get them running in CXF 2.7.x without recompiling them against JSR-339 (JAX-RS 2.0) API, use one of the following approaches:
- Import the
javax.ws.rs,javax.ws.rs.coreandjavax.ws.rs.extbundles with the[1.1, 3)version range and deploy theorg.apache.servicemix.specs.jsr339-api-m10-2.1.0specification bundle, or - Deploy the
org.apache.servicemix.specs.jsr339-api-m10-2.2.0specification bundle (when it is released).