Links: Table of Contents | Single HTML

Chapter 28. Migration Guide

28.1. Migrating from Jersey 2.32 to 3.0.1.

28.1.1. Breaking Changes

  • The most fundamental change in Jersey 3.0.1 and later is namespace change. Since Jakarta EE 9 the jakarta. namespace is introduced as a replacement for javax namespace from Java EE.

    Due to required jakartification several modules where omitted (because of not satisfied dependencies). Or require higher JDK (11+).

    Spring for now is not supported.

    Examples and tests are reduced in quantity (so you probably will not find all those examples which were available in the 2.32 version).

28.1.2. Removed deprecated APIs

  • Jackson 1 support was removed.

28.1.3. Application servers for Jersey

At the end of the year 2020 only few application servers where supporting Jakarta EE 9. Those are GlassFish 6.0.0 (RCx), Tomcat 10 (Mx) and Jetty 11.x (JDK 11+ required)