There has been a similar question on the OSGi Dev mailing-list [1]. 
Basically they say the same: OSGi will work in JPMS (as a 
classpath-application) but there is currently no way of mixing modules and 
bundles.

[1] https://mail.osgi.org/pipermail/osgi-dev/2017-September/006550.html

regards
Marc

Am Samstag, 9. September 2017 10:49:35 UTC+2 schrieb Guillaume Nodet:
>
> I'm not sure I understand why you absolutely want to use JPMS and OSGi 
> together.
> OSGi will continue to work on Java 9.  If you want to switch to JPMS, you 
> can, but 
> it's not OSGi anymore.
>
> 2017-09-09 9:09 GMT+02:00 Pavel Kastornyy <[email protected] 
> <javascript:>>:
>
>> Hi Achim
>>
>> The problem is that there is no solution how to work with JPMS together
>> with OSGi (one module = one bundle) at the current time and there is
>> no information when such solution will appear. For details see
>> https://mail.osgi.org/pipermail/osgi-dev/2017-September/thread.html
>>
>> I've read many articles in internet about possible solution and all
>> they say that "suggested solution is not for production".
>>
>> So, I started to think that static JPMS will not allow us to use OSGi
>> dynamism. I very much hope that I am wrong because all our projects
>> are on OSGi.
>>
>> Best regards, Pavel
>>
>>
>> On 09.09.2017 09:08, 'Achim Nierbeck' via OPS4J wrote:
>>
>>> Hi Pavel,
>>>
>>> as all those projects are targeted to run in an  OSGi environment.
>>> I don't see anything special to handle JPMS.
>>> The goal is to have these bundles as OSGi bundles, so the OSGi framework
>>> will take care of that.
>>> JPMS does have a complete different goal (at least to my understanding)
>>> Therefore I don't see any special handling is needed.
>>>
>>> Besides maybe the pax-url project. It's the only one also capable of
>>> running outside of a container.
>>> Though as it's just another jar it should work right away on top of any
>>> jdk.
>>>
>>> regards, Achim
>>>
>>> 2017-09-08 19:56 GMT+02:00 Pavel <[email protected] <javascript:>>:
>>>
>>> Hello, everyone
>>>>
>>>> Pax products are well known (pax-logging, pax-cdi, pax-web, pax-exam 
>>>> etc)
>>>> in OSGi world.
>>>> I think that pax products are among the most important products for
>>>> building infrastructure
>>>> for OSGi. Thanks to community.
>>>>
>>>> Now Java 9 with its own module system (JPMS) is about to be released.
>>>> Could anyone
>>>> give any information about pax products future and possible plans for
>>>> creating products for JPMS
>>>> infrastructure.
>>>>
>>>> Best regards, Pavel
>>>>
>>>> --
>>>> --
>>>> ------------------
>>>> OPS4J - http://www.ops4j.org - [email protected] <javascript:>
>>>>
>>>> ---
>>>> You received this message because you are subscribed to the Google 
>>>> Groups
>>>> "OPS4J" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an
>>>> email to [email protected] <javascript:>.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>>
>>>
>>>
>> -- 
>> -- 
>> ------------------
>> OPS4J - http://www.ops4j.org - [email protected] <javascript:>
>>
>> --- You received this message because you are subscribed to the Google 
>> Groups "OPS4J" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> ------------------------
> Guillaume Nodet
>
>

-- 
-- 
------------------
OPS4J - http://www.ops4j.org - [email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to