Chapter 4. Apache CXF Issues


4.1. Summary of Apache CXF 2.6.0 to 2.7.0 Migration

Overview

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

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.core and javax.ws.rs.ext bundles with the [1.1, 3) version range and deploy the org.apache.servicemix.specs.jsr339-api-m10-2.1.0 specification bundle, or
  • Deploy the org.apache.servicemix.specs.jsr339-api-m10-2.2.0 specification bundle (when it is released).
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.