Did anybody succeed to get JavaScipt communication with a geese? I
struggle to inserted the SampleGoose code as applet and call it from
javaScipt. So even an applet Goose example would be appreciated.
Thanks,
Vlad
I take it that you want to communicate with a Goose from javascript embedded
in a web page?
We're working on a couple of projects that do just that. We've built a
toolbar for the firefox browser called Firegoose that performs a kind of
on-the-fly integration between websites and the Gaggle. Another project uses
the Google web toolkit to talk to the Firegoose.
The tricky part is that the Boss communicates by RMI which is a java
protocol, so even in the Firegoose toolbar we need to use a mixture of java
and javascript.
An applet that would serve as an interface between javascript and java RMI
should work, but the security model of applets might get in the way. I
haven't tried that.
Take a look at the Firegoose and see if that does anything close to what you
want.
http://gaggle.systemsbiology.net/docs/geese/firegoose/
The code is a little more convoluted than I'd like. I've been thinking of
implementing a greasemonkey-like facility for importing user scripts, which
might help you.
-chris
Currently, I am mainly working with the namelist gaggle datatype. Chris
could tell you if these sorts of operations are supported for other
datatypes.
Thanks for the suggestions. I wand to write kind of a Spotfire goose.
Spotfire has much better JavaScript API then Java API. So I need
JavaScript to work as goose, i.e monitor events and send/receive data
to/from Boss , then I make it to call Spotfire. Also I need IE to
render Java-script. So firegoose apparently will not work off-shelf.
However I will check the firegoose code to learn the JavaScipt -Java
communication. The code can be obtained only via svn?
best,
Vlad
On Jul 27, 5:20 pm, Christopher Bare <cb...@systemsbiology.org> wrote:
> Hi,
>
> I take it that you want to communicate with a Goose from javascript embedded
> in a web page?
>
> We're working on a couple of projects that do just that. We've built a
> toolbar for the firefox browser called Firegoose that performs a kind of
> on-the-fly integration between websites and the Gaggle. Another project uses
> the Google web toolkit to talk to the Firegoose.
>
> The tricky part is that the Boss communicates by RMI which is a java
> protocol, so even in the Firegoose toolbar we need to use a mixture of java
> and javascript.
>
> An applet that would serve as an interface between javascript and java RMI
> should work, but the security model of applets might get in the way. I
> haven't tried that.
>
> Take a look at the Firegoose and see if that does anything close to what you
> want.
>
> http://gaggle.systemsbiology.net/docs/geese/firegoose/
>
> The code is a little more convoluted than I'd like. I've been thinking of
> implementing a greasemonkey-like facility for importing user scripts, which
> might help you.
>
> -chris
>
If Spotfire has -any- kind of a Java API, you might want to
give that a serious consideration. The Gaggle API is really
quite simple, and you may be able to get your Spotfire goose
working without much fuss.
By the way, we would be very interested to see your goose in
action, however you decide to do it. Spotfire is a great tool.
Cheers,
- Paul
Vlad
The firegoose is written very specifically to mozilla firefox, so it will be
of limited help if you need to support IE. Another alternative might be to
use an XML-over-sockets protocol (XML-RPC maybe?) for communication between
the Boss and geese written in languages other than Java. This is something
we've thought about for quite a while, but haven't gotten around to doing.
I'm not sure where that falls in our list of priorities, but we are
interesting in doing it. And a Spotfire goose would be very cool.
Source for Firegoose is in an svn repository here:
http://gaggle.systemsbiology.net/svn/gaggle/FireGoose/
-chris
> From: Vlad <vm1...@gmail.com>
> Reply-To: <gaggle-de...@googlegroups.com>
> Date: Mon, 30 Jul 2007 13:40:34 -0000
> To: gaggle-development <gaggle-de...@googlegroups.com>