ipojo performance

2017-07-13 Thread jerome pommier
Hello, As a scientist, I used to program my calculations in JAVA, and since almost one year I'm doing these using OSGI paradigm, more precisely IPOJO framework. The programs are much more powerful, and I find huge advantages, of course. Anyhow I have questions regarding IPOJO performance. Let me

Re: ipojo performance

2017-07-25 Thread Jerome Pommier
Thank you for you answer. However I underline that the extra time observed when accessing ServiceProperty fields doesn't comes from the profiler (I used the NetBeans Profiler). Below is a short test : package felixtest.impl; import felixtest.services.SimpleService; import org.apache.felix.ipojo.a

Re: Antwort: RE: Felix and JavaFX

2017-07-25 Thread Jerome Pommier
I can't remember where I found the following allowing me to very simply launch OSGI-JAVAFX apps, but I give here a skeleton that I use everywhere. The point is that I'm using NetBeans platform, and Ant, (it seems to be also your case) because I can't be be connected to www. The local Ant build's f

iPOJO: Setting a service as a ServiceProperty with XML

2018-06-18 Thread Jerome Pommier
Hello, Sometimes it is necessary to create a new instance with a service property field sets from an already existing service instance. It works well using annotations. My question is: How can I do the same with XML ? I tried: *

Re: IPOJO in the future

2018-07-23 Thread Jerome Pommier
Hello, I'm still using iPOJO (configured through xml file) in my scientific programs and I'm very happy with it. Upgrading and chaining very large portions of codes is really feasible. My point of view is that OSGI-DS doesn't yet provides same functionality. The main drawback (for numeric calculat

Dynamic binding trouble ?

2020-05-12 Thread Jerome Pommier
A component Son is defined as a factory: *@Component( factory = « SON ») public class Son implements … { @Reference(cardinality = ReferenceCardinality.OPTIONAL) volatile Filter aFilter; …* The Component Son is instantiated within activate method of Father component: *@Component