users@jersey.java.net

[Jersey] Jersey 1 client in Jersey 2 server

From: Jonas Bergström <luckyswede_at_gmail.com>
Date: Sun, 8 Jun 2014 23:36:05 +0200

Hi,
I'm upgrading my application from Jersey 1.x to Jersey 2.x and getting
problems because a couple of my dependencies use the Jersey 1.x client and
it seems impossible to run that one in a Jersey 2 server. I've tried
removing the 1.x server jar but the client seems to depend on it somehow.

Is there a workaround?
Would it be possible to enhance Jersey 2 to allow 1.x on the path?

My main reason for upgrading is to get async support (void method with
@Suspended parameter). Are there any other ways of achieving that while
staying on 1.x?

Thanks / Jonas