Posted by zohan29
on March 6, 2010 at 6:31 AM PST
Imagine we have two Xlets and we want one of them to invoke the other, with passing parameters.
My intention was to use org.dvb.application.* classes (AppsDatabase and AppProxy).
Xlets are packaged into their own JARs, with one single BDJO descriptor. Testing in both Scenarist QC and Sony PS3 reveals that both Xlets got loaded and initialized prior to the first one being started. Then, seems like AppProxy.start(String args) does not have any sence, since the second Xlet already being initialized with empty arguments (both Xlet properties "dvb.caller.parameters" and "javax.tv.xlet.args").
Concerning the above, how do we implement on-demand execution of one Xlet from another with passing parameter data? I'm now looking at IxcRegistry for that.
The second question is, are IxcRegistry-bound remote objects suitable for synchronizing between Xlets via notify()/wait()?