Hello,
I don't know enough OSGi to root it all entirely but since GraalVM has no classloader whatsoever, it's probably no fit for OSGi (or at least all the existing implementations out there). Also all of the dynamic reloading of modules that OSGi advertise is at odd with the Quarkus philosophy.
Emmanuel
--
You received this message because you are subscribed to the Google Groups "Quarkus Development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quarkus-dev...@googlegroups.com.
Visit this group at https://groups.google.com/group/quarkus-dev.
For more options, visit https://groups.google.com/d/optout.
toni menzel / rebaze consultancy Alleestrasse 25 / 30167 Hannover / Germany | |||
|
Since, Quarkus’ primary targets are microservice and serverless computing, both of which emphasize fine-grained, single purpose focused services, we don’t see as strong of a need for class loader isolation, which has its biggest value in use cases where multiple applications and services are sharing the same JVM. Instead we prefer alternative mechanisms, such as opting in to only the extensions you need, and on the Quarkus framework side separating runtime and deployment dependencies.It is possible to carry over a major chunk of OSGi API set in some form, if you simply view the Quarkus output as a collapsed pre-wired frozen osgi service resolution tree. Although it would have more boilerplate over the already provided injection facilities.
On Apr 24, 2019, at 8:59 PM, Neeraj Vyas <neera...@gmail.com> wrote:
Thanks Emmanuel for your response. Do you think these limitations can be a roadblock in widespread adopting Quarkus in longer run due to incompatible external dependencies (not talking specifically only about OSGi)? Having a way to allow such integration could be very beneficial to widespread adoption.
On Wed, Apr 24, 2019 at 2:26 AM Emmanuel Bernard <eber...@redhat.com> wrote:
Hello,
I don't know enough OSGi to root it all entirely but since GraalVM has no classloader whatsoever, it's probably no fit for OSGi (or at least all the existing implementations out there). Also all of the dynamic reloading of modules that OSGi advertise is at odd with the Quarkus philosophy.
Emmanuel
On 24 Apr 2019, at 3:21, Neeraj Vyas wrote:
Hi All, I am wondering if it’s possible to utilize OSGi within Quarkus development and get best of both the worlds, specially generating native code based on Quarkus/GraalVM and maintaining modularity/bundles/services/etc of OSGi?Please look at OSGi enroute microservices example athttps://enroute.osgi.org/tutorial/030-tutorial_microservice.html, what would it take it to work with Quarkus in JVM and Native mode both. I understand native mode may be challenging due to custom classloading in OSGi but I think and am sure that this group can have some cool way to integrate both. Would appreciate if someone can provide example app with this mesh-up.Thanks,Neeraj--
You received this message because you are subscribed to the Google Groups "Quarkus Development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quark...@googlegroups.com.
Visit this group at https://groups.google.com/group/quarkus-dev.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Quarkus Development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quark...@googlegroups.com.