Re: java callbackks

From: David Huynh <dfhuynh_at_csail.mit.edu>
Date: Wed, 21 Dec 2005 19:06:26 -0500

Sorry, Andrew, I don't have any suggestion better than that, either. :-(

David

Andrew Harrison wrote:
> Hi Matthias,
>
> I know, but I *really* want to avoid that.
>
> cheers,
>
> Andrew
>
> On 21 Dec 2005, at 10:04, Matthias Berth wrote:
>
>> Hi,
>>
>> if everything else fails, you can still run a tiny http server on the
>> java side and have javascript poll that for incoming messages :-).
>> Just my $0.02
>>
>>
>> Matthias
>>
>> Andrew Harrison schrieb:
>>> David,
>>> Thanks for your prompt response!
>>> My extension aims at making Firefox a peer in a P2P sense. So I
>>> need to get arbitrary messages received by the back-end Java peer
>>> into Firefox. This will be queries for resources/uris (I've
>>> mentioned this before - PiggyBank data) received from the P2P
>>> network, but a simple chat window is my current proof-of-concept.
>>> So I don't know when the messages will arrive. I'm just wondering
>>> if I can cobble something together with JNI but that's going to be
>>> messy because currently I get Java using your sly technique from
>>> JS, but JNI needs to go (in my experience) via the Java plug-in.
>>> Not quite sure how these different access methods to the JVM would
>>> affect things...hmmm
>>> cheers,
>>> Andrew
Received on Wed Dec 21 2005 - 23:59:30 EST

This archive was generated by hypermail 2.3.0 : Thu Aug 09 2012 - 16:39:18 EDT