Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » REST client within plugin
REST client within plugin [message #1816998] Wed, 13 November 2019 14:43 Go to next message
Christian Pontesegger is currently offline Christian PonteseggerFriend
Messages: 250
Registered: July 2009
Location: Graz, Austria
Senior Member
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 20:45 Go to previous messageGo to next message
Emmanuel Chebbi is currently offline Emmanuel ChebbiFriend
Messages: 123
Registered: February 2018
Senior Member
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 17:28 Go to previous message
Christian Pontesegger is currently offline Christian PonteseggerFriend
Messages: 250
Registered: July 2009
Location: Graz, Austria
Senior Member
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 17:29]

Report message to a moderator

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


Current Time: Sat Oct 05 02:59:44 GMT 2024

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

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

Back to the top