Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jersey-dev] [External] : Jersey 1.x to 2.x upgrade
  • From: Jan Supol <jan.supol@xxxxxxxxxx>
  • Date: Wed, 15 Feb 2023 12:48:43 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=QgZRj0weU0Wf6mP2611KoJ5uen4I4vKbPdypmegIEZg=; b=EcYmzUsR1fnhCVr5uRh2OUJRW5lEpPJPce4zajo0Sm6Pk/KBVwSKmjc/mGg8OsKEHfUgNwYaM+ZL9CvKJHI0DXcOpZbDiEVPhzths6jeJ75hZk8BcxMVJruQ1ax6TwkjOe64VjUF3FGbwhL9fNXdDWahjhyuLiiOfqYFDJN/AEadVW9vrZckcauUSRlCVBQ0P0y+s3lteXm6wZYCR0rw7LkQCrc/p1O0etqhAfBkSFeyFk3n7V4YjvDhUlu1js0YEEUtffYC60zHR+mxs9X26Rz6z2VMWYwQKtOxqim4ndIm54cA3MItCByibaoZaNBRSTX2sdAIF+1Jj09qB1P6/Q==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DGJs2bT+nhPp6e0bS7UqAANPQYmvFs2Z35gPE2wl9IP6p/kEO+bXjsjmmld338XtpvF81hrR98tmuj9z3vwi5l8k+U17vssw6Xn658BzfWFy1UQzKIDSg2AYkWcx+KiWDY3ItZRWAwNkEaUUFWeM/29SeYk6MWSdDru/FESncBVoEnKNVI/7G5qji67EpCBtt9Ljro5CCN3bfqro0VyoKvxOEleimo1X0Vf4E3PbvJXisHc2lz9T8z3z4yE2cEglLXcFQ4m5aiM3YqwEWxHPmqaPmXDIB0Jpan7n5sZOO7cPA6H7vN/v6tOcAQm3EwveeUZo/1hwIM6bDxx8pI9Xow==
  • Delivered-to: jersey-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/jersey-dev/>
  • List-help: <mailto:jersey-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/jersey-dev>, <mailto:jersey-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/jersey-dev>, <mailto:jersey-dev-request@eclipse.org?subject=unsubscribe>
  • Msip_labels:
  • Thread-index: AQHZPmvyi+BnPHSn40eARWOU5kPywq7P+JoN
  • Thread-topic: [External] : [jersey-dev] Jersey 1.x to 2.x upgrade

Hi,
maybe it would be better to open this as an issue in the Jersey Issue tracker so that it can be referenced later when needed by other folks. 

We know that some specific cases are not easily transformed into Jersey 2. One of the cases is the mentioned guice-servlet. While Jersey 1 used a proprietary injection mechanism, Jersey 2 relies on HK2 for the injection. That means, for HK2-Juice integration, there is a bridge that can be used. Please see https://javaee.github.io/hk2/guice-bridge.html. Jersey does not implement the Guice support on its own any longer.

HTH,
Jan

From: jersey-dev <jersey-dev-bounces@xxxxxxxxxxx> on behalf of Viraj Jasani <virajjasani007@xxxxxxxxx>
Sent: Saturday, February 11, 2023 11:55 PM
To: jersey-dev@xxxxxxxxxxx <jersey-dev@xxxxxxxxxxx>
Subject: [External] : [jersey-dev] Jersey 1.x to 2.x upgrade
 
Hi,

Greetings for the day!

I was wondering if this is the right mailing list to ask any questions and get help for Jersey 1.x to 2.x migration. We have a big opensource project that is still using Jersey 1.x as of today and while migrating APIs to Jersey 2.x, we are facing some issues. I have referred to the migration guide as well as both codebases as well. However, I am not able to find Jersey 2 alternatives for some references from guice-servlet for instance. This is just one example.

Please let me know if I could ask for help with code references on this thread. Thank you!

--
Thanks,
Viraj

Back to the top