Previous Topic

Next Topic

Book Contents

Book Index

Migrating to JAX-RS RI 2.30.1

From Gateway SDK 10.1.0 onward, the Jersey REST container has been updated. In order to allow support for Server Sent Events, the jersey-min bundle has been replaced by jaxrs-ri. Since it is still a Jersey REST container, this is just an alternative form of packaging for the bundle. The versions of the component have been changed from 2.22.2 to 2.30.1. This version change is included in all Jersey sub-components of the bundle.

The users have to migrate to the new container only if they have:

The migration steps from Jersey-min 2.22.2 to JAX-RS RI 2.30.1 are:

  1. Updating of all Jersey container dependency versions to the latest, 2.30.1
  2. Replacing jersey-min with jaxrs-ri in projects with a full JRE execution environment
  3. Replacing jersey-min.compact with jaxrs-ri.compact in projects with a JavaSE/compact3-1.8 execution environment
  4. Adding of jakarta.json and javax.json.bind , in that order, as active API bundles right before jaxrs-ri(compact) in the used bundles in the runtime, since jaxrs-ri imports packages from them.
  5. Updating of kitman scripts to include jakarta.json, javax.json.bind, jaxrs-ri (or jaxrs-ri.compact) in place of jersey-min (or jersey-min.compact)
  6. Updating of testcase configurations to include jakarta.json, javax.json.bind, jaxrs-ri (or jaxrs-ri.compact) in place of jersey-min (or jersey-min.compact)

If the users use the standard components from the Gateway SDK, this is already taken care of.