Another option is to use OSGi Remote Services [A].
Some implementations allow use of both Jaxrs or non-Jaxrs (e.g. legacy)
REST providers [B].
Scott
[A]
https://osgi.org/specification/osgi.cmpn/7.0.0/service.remoteservices.html
[B] https://wiki.eclipse.org/Distribution_Providers
On 5/2/2019 7:51 AM, BJ Hargrave via osgi-dev wrote:
With OSGi's JAX-RS support [1], you can easily publish and consume
RESTy endpoints in your OSGi application.
So there is no need to "leave" OSGi to participate in a microservice
environment.
[1]:
https://osgi.org/specification/osgi.enterprise/7.0.0/service.jaxrs.html
--
BJ Hargrave
Senior Technical Staff Member, IBM // office: +1 386 848 1781
OSGi Fellow and CTO of the OSGi Alliance // mobile: +1 386 848 3788
hargr...@us.ibm.com
----- Original message -----
From: Neil Bartlett via osgi-dev <osgi-dev@mail.osgi.org>
Sent by: osgi-dev-boun...@mail.osgi.org
To: Mohamed AFIF <afif.moha...@gmail.com>, OSGi Developer Mail
List <osgi-dev@mail.osgi.org>
Cc:
Subject: Re: [osgi-dev] Migrating from OSGI to Microservices
Date: Thu, May 2, 2019 6:37 AM
Well the good news is that OSGi is already a microservice
architecture, so you have already finished. Congratulations!
If that answer doesn't quite satisfy you, maybe you'd like to
describe in more detail what you are attempting to achieve and why?
Regards,
Neil
On Thu, 2 May 2019 at 11:06, Mohamed AFIF via osgi-dev
<osgi-dev@mail.osgi.org <mailto:osgi-dev@mail.osgi.org>> wrote:
Hello everybody,
We 're starting to study the possibility to transform our
architcteure in order to migrate from OSGI to microservice
architecture, and I would like to know if there is alreay some
people who had thought about this subject or already start
this migration.
Because at first sight it would not be an easy task, many
problems/issues we will be facing to them (blueprint
injections, managing ditrubued caches instead of one cache in
one JVM...)
Many thanks
--
Cdt
Mohamed AFIF
_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org <mailto:osgi-dev@mail.osgi.org>
https://mail.osgi.org/mailman/listinfo/osgi-dev
_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev
_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev
_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev