Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » REST client within plugin
REST client within plugin [message #1816998] Wed, 13 November 2019 09:43 Go to next message
Eclipse UserFriend
I would like to implement a client for a REST service. Microprofile looks promising, but while standalone java applications do run fine, putting the same code & jars inside of an eclipse plugin fails when being executed.

Has anyone already experience with this? Any recommended technology stack to be used? Preferredly I would love to pick dependencies from existing p2 repos.

Christian
Re: REST client within plugin [message #1817830 is a reply to message #1816998] Fri, 29 November 2019 15:45 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

I hope you have found a solution by now. Otherwise I successfully used the OSGi - JAX-RS Connector [1] a few months ago. It basically allows to expose OSGi services as ReST endpoints. It is not maintained anymore though, which could be a showstopper for long-term projects, but some forks are still active. You'll find several articles about the use of the connector on https://eclipsesource.com/blogs/.

[1] https://github.com/hstaudacher/osgi-jax-rs-connector
Re: REST client within plugin [message #1817862 is a reply to message #1817830] Sun, 01 December 2019 12:28 Go to previous message
Eclipse UserFriend
Thanks for your reply. I am using RESTeasy, which works quite well for me, see
http://codeandme.blogspot.com/2019/11/jakarta-microprofile-rest-client-in.html

[Updated on: Sun, 01 December 2019 12:29] by Moderator

Previous Topic:Eclipse exported Product file is not working.
Next Topic:Integrating QT with Eclipse
Goto Forum:
  


Current Time: Sun Aug 31 05:59:44 EDT 2025

Powered by FUDForum. Page generated in 0.03580 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top