William wrote: > This is very interesting. I haven't yet tried the java program below, > but your email raises the questions of what exactly is the protocol > needed to talk with the server. There is one, but it isn't really written > down anywhere. One can partially reverse engineer it either by looking > at the javascript in the notebook itself, in the file > SAGE_ROOT/devel/sage/sage/server/notebook/js.py > or by looking mainly at the file > SAGE_ROOT/devel/sage/sage/server/notebook/twist.py
I have been studying the js.py program and I noticed that it uses XmlHttpRequest which appears to be the standard way that AJAX clients communicate with the server. I located a Java library that contains an XmlHttpRequest class that implements the same functionality as JavaScript's XmlHttpRequest. Does this sound like a promising approach to explore? Also, I have been researching a completely different way to remotely execute Sage code. What do you think about the approach that JpyDbg uses?: http://jpydbg.sourceforge.net/ Ted --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] 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/ -~----------~----~----~----~------~----~------~--~---
