Re: [osgi-dev] OSGi and Java 9

2017-09-08 Thread Alex Sviridov
rave >>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: Alex Sviridov < ooo_satu...@mail.ru &

Re: [osgi-dev] OSGi and Java 9

2017-09-08 Thread Neil Bartlett
sage - > From: Alex Sviridov > Sent by: osgi-dev-boun...@mail.osgi.org > To: osgi-dev > Cc: > Subject: Re: [osgi-dev] OSGi and Java 9 > Date: Fri, Sep 8, 2017 8:23 AM > > Thank you very much for your answer. This is very useful information. > > You say that &quo

Re: [osgi-dev] OSGi and Java 9

2017-09-08 Thread Thomas Watson
That was written by me.  The basic premise behind the experiment was to ensure (prove) that we could have bidirectional support between JPMS and OSGi if the demand becomes high for such a thing.  Up front, I have not seen that demand arise as of yet.  But we will see as Java 9 gains adoption.  I wo

Re: [osgi-dev] OSGi and Java 9

2017-09-08 Thread BJ Hargrave
Part of the issue is that JPMS design was a moving target. Until Java 9 ships, the design was changing. So OSGi had no final design to consider. Once Java 9 is shipped and JPMS design is final, then OSGi experts can consider what, if anything, needs to be specified by OSGi. I cannot promise what wi

Re: [osgi-dev] OSGi and Java 9

2017-09-08 Thread Alex Sviridov
;>- Original message - >>From: Alex Sviridov < ooo_satu...@mail.ru > >>Sent by: osgi-dev-boun...@mail.osgi.org >>To: osgi-dev < osgi-dev@mail.osgi.org > >>Cc: >>Subject: Re: [osgi-dev] OSGi and Java 9 >>Date: Thu, Sep 7, 2017 4:0

Re: [osgi-dev] OSGi and Java 9

2017-09-07 Thread Simon Spero
> > So both technologies can exist in the same VM this way. JPMS and OSGi > don't have to be friends in this situation. They just need to not interfere > with each other :-) > > If you are asking about how you can install JPMS modules in an OSGi > framework just like bundles, then there is no answ

Re: [osgi-dev] OSGi and Java 9

2017-09-07 Thread Simon Spero
On Thu, Sep 7, 2017 at 5:15 PM, Mark Raynsford wrote: > On 2017-09-07T20:31:19 + > "BJ Hargrave" wrote: > > > If you are asking about how you can install JPMS modules in an OSGi > framework just like bundles, then there is no answer for that at this time > that I am aware of. > > Someone did

Re: [osgi-dev] OSGi and Java 9

2017-09-07 Thread Mark Raynsford
On 2017-09-07T20:31:19 + "BJ Hargrave" wrote: > If you are asking about how you can install JPMS modules in an OSGi framework > just like bundles, then there is no answer for that at this time that I am > aware of. Someone did a proof of concept that provides some degree of interaction bet

Re: [osgi-dev] OSGi and Java 9

2017-09-07 Thread BJ Hargrave
I am sorry I could not help you more. I don't have a detailed checklist of things to do.   What I am saying is that JPMS and OSGi can operate at different layers. They do not need to interact. Java 9 runtime classes are loaded by JPMS modules and then an existing application can run on top of that

Re: [osgi-dev] OSGi and Java 9

2017-09-07 Thread Timothy Ward
iginal message - > From: Alex Sviridov mailto:ooo_satu...@mail.ru>> > Sent by: osgi-dev-boun...@mail.osgi.org > <mailto:osgi-dev-boun...@mail.osgi.org> > To: osgi-dev mailto:osgi-dev@mail.osgi.org>> > Cc: > Subject: Re: [osgi-dev] OSGi and Java 9 > Date: Thu,

Re: [osgi-dev] OSGi and Java 9

2017-09-07 Thread Alex Sviridov
, 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: Alex Sviridov < ooo_satu...@mail.ru > >>Sent by: osgi-dev-boun...@mail.osgi.org >>To: o

Re: [osgi-dev] OSGi and Java 9

2017-09-07 Thread BJ Hargrave
You may need to set some options to ignore some warnings. But your OSGi based application should run fine just like other existing apps (assuming you don't use Java internals which Java 9 hides). --BJ HargraveSenior Technical Staff Member, IBM // office: +1 386 848 1781OSGi Fellow and CTO of the OS

Re: [osgi-dev] OSGi and Java 9

2017-09-07 Thread Leschke, Scott
Subject: Re: [osgi-dev] OSGi and Java 9 You can use OSGi on Java 9. Just like any other Java program. While the Java runtime class libraries are modularized with the Java Platform Module System (JPMS), your application running on the Java runtime can remain modularized by OSGi. OSGi is not going

Re: [osgi-dev] OSGi and Java 9

2017-09-07 Thread Alex Sviridov
Thank you very much for your answer. It is good news. Could you give any information HOW to use OSGi on Java 9? Should I totally ignore JPMS (use any switches to permit/disable etc) or should I delegate JPMS some tasks (which?) and delegate OSGI other tasks (which?)? Best regards, Alex >Четвер

Re: [osgi-dev] OSGi and Java 9

2017-09-07 Thread BJ Hargrave
You can use OSGi on Java 9. Just like any other Java program. While the Java runtime class libraries are modularized with the Java Platform Module System (JPMS), your application running on the Java runtime can remain modularized by OSGi. OSGi is not going to stop working on Java 9 :-) In other wor