[osgi-dev] Circular references with Factory component

2018-11-22 Thread Alain Picard via osgi-dev
Been running into an issue with circular references dealing with ComponentFactory and I'm a bit confused. I have: @Component class A implements X { @Reference(target = CoreDeleteEObjects.CONFIG_TARGET) private ComponentFactory coreDeleteFactory; } and the factory component matching

Re: [osgi-dev] Usinge Cache in Karaf

2018-11-22 Thread Alain Picard via osgi-dev
If it might help, we are in the process of using Infinispan at our end. It is OSGi compliant (almost) and for Karaf users (not us yet), it comes with features for easy deployment. Alain On Thu, Nov 22, 2018 at 5:02 AM Mohamed AFIF via osgi-dev < osgi-dev@mail.osgi.org> wrote: > Hello

Re: [osgi-dev] Usinge Cache in Karaf

2018-11-22 Thread Jean-Baptiste Onofré via osgi-dev
Hi Mohamed, why not creating your caching service based on ehcache ? I did that for some projects. By the way, you have a good point: caching could a good Karaf feature (similar to scheduler feature we have). I created a Jira to add such kind of "out of the box" caching feature in Karaf:

Re: [osgi-dev] OSGi and Java 11 ?

2018-11-22 Thread Cristiano via osgi-dev
Hello Thomas, I returned from vacation this week and forgot to answer this... :-[ We was afraid about jigsaw/modules, but we have installed the latest Eclipse IDE and also JDK 11 on our dev machines and docker nodes where we run integration tests. The only problem was for one system that

Re: [osgi-dev] Usinge Cache in Karaf

2018-11-22 Thread Raymond Auge via osgi-dev
Mohamed, if I understand correctly, what you really need in order to cache method calls are proxies around arbitrary services. First I don't think there's a OOTB solution for your problem description specifically to do method caching. Also, OSGi doesn't natively provide a proxy mechanism. In

Re: [osgi-dev] Usinge Cache in Karaf

2018-11-22 Thread Mohamed AFIF via osgi-dev
Hi Alain, Thanks a lot for sharing your experience, but as I've seen on documentation , I'm not sure that infinispan handles cache of methods . Regards. Mohamed. Le jeu. 22 nov. 2018 à 11:10, Alain Picard a écrit : > If it might help, we are in the process of using Infinispan at our end.

Re: [osgi-dev] equinox env started notification

2018-11-22 Thread Raymond Auge via osgi-dev
... or go look at the Apache Felix (new) systemready project. :) - Ray On Thu, Nov 22, 2018, 13:42 Cristiano via osgi-dev Hi, > > Well, I think there are many possible solutions for that. > > In my opinion, the complicated thing is how the OSGi framework would know > what is necessary to it

Re: [osgi-dev] equinox env started notification

2018-11-22 Thread Cristiano via osgi-dev
Hi, Well, I think there are many possible solutions for that. In my opinion, the complicated thing is how the OSGi framework would know what is necessary to it consider your application ready. Which bundles? which services? A combination of the new OSGi Configurator + DeclarativeServices +

Re: [osgi-dev] Usinge Cache in Karaf

2018-11-22 Thread Scott Lewis via osgi-dev
On 11/22/2018 8:19 AM, Raymond Auge via osgi-dev wrote: Mohamed, if I understand correctly, what you really need in order to cache method calls are proxies around arbitrary services. First I don't think there's a OOTB solution for your problem description specifically to do method caching.

Re: [osgi-dev] Usinge Cache in Karaf

2018-11-22 Thread Raymond Auge via osgi-dev
Scott, is that usable in-process, as in no remoting? - Ray On Thu, Nov 22, 2018, 14:55 Scott Lewis via osgi-dev On 11/22/2018 8:19 AM, Raymond Auge via osgi-dev wrote: > > Mohamed, if I understand correctly, what you really need in order to cache > method calls are proxies around arbitrary

Re: [osgi-dev] equinox env started notification

2018-11-22 Thread Nhut Thai Le via osgi-dev
Thank you all for the suggestion, I'll take a look into felix systemready On Thu, Nov 22, 2018 at 2:21 PM Raymond Auge wrote: > ... or go look at the Apache Felix (new) systemready project. > > :) > > - Ray > > On Thu, Nov 22, 2018, 13:42 Cristiano via osgi-dev wrote: > >> Hi, >> >> Well, I

Re: [osgi-dev] Usinge Cache in Karaf

2018-11-22 Thread Raymond Auge via osgi-dev
On Thu, Nov 22, 2018, 15:30 Raymond Auge Scott, is that usable in-process, as in no remoting? > > - Ray > > On Thu, Nov 22, 2018, 14:55 Scott Lewis via osgi-dev < > osgi-dev@mail.osgi.org wrote: > >> On 11/22/2018 8:19 AM, Raymond Auge via osgi-dev wrote: >> >> Mohamed, if I understand correctly,