users@jersey.java.net

[Jersey] Migrating from 1.17 to 2.x

From: michal sankot <michalsankot_at_appnostic.com>
Date: Thu, 06 Mar 2014 14:08:29 +0100

Hi guys,
I have a project with Jersey 1.17. It runs on Google App Engine and we
use it for consuming and producing XML and JSON over GET/POST. Project
is built with Gradle.

I'm thinking about migrating it to Jersey 2.x. I have two questions:

1) Are those features that I use in 1.17 available in 2.x ?
2) Which dependencies to use in 2.x ?
There is a doc about migrating
(https://jersey.java.net/documentation/latest/migration.html) but it
doesn't address this issue of dependency migration. Furthermore how do
properties from web.xml change ? (like
com.sun.jersey.api.json.POJOMappingFeature etc.)

Cheers,
Michal