William wrote:

> By the way, do you have any thoughts about technical communication
> issues with the server when using Java versus using Javascript to
> implement the scientific calculator.  I think Ted's calculator client
> is a Java applet,
> which might impact how it would communicate with the Sage server.

The applet uses JSObject to access the javascript environment of the
FireFox browser and it relies on the javascript notebook code in the
browser for all communications with the SAGE server:

http://java.sun.com/products/plugin/1.3/docs/jsobject.html

This approach worked well for eliminating the need for the applet to
log into the SAGE server and it automatically sets it inside the
context of an opened worksheet.

JSObject also enables the applet to do things with the worksheet like
bind a text area to a cell for enhanced editing capabilities (like
syntax highlighting, search and replace, etc.).  It can also inject
javascript code into the browser as needed.  On the javascript side,
it can call the applet's public methods.



> We should really really have a collection of simple example java applets that
> communicate with a sage server, to explain how that can be done.

As soon as we come up with a solid applet communications technique, I
can help with this.

Ted

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to