Forum OpenACS Development: Response to ploting service

Collapse
Posted by Dan Wickstrom on
The interface between tcl and java treats everything like null-terminated strings, so this wouldn't currently work in nsjava/freechart. But that's a good point. I'll add it to my todo list to support passing binary data to/from tcl.

One other thing to note, nsjava does not support servlets. Instead it is a tcl extension module that allows the scripting of java components from tcl. Currently it provides a tcl api to perform the following functions in tcl:

  • Create instances of Java Objects from Tcl
  • Invoke instance methods on a java object from Tcl
  • Invoke methods on java array objects from Tcl
  • Invoke java static methods from Tcl
  • Get and Set Java Field values from Tcl
  • Determine if an Tcl Object is an instance of a Java Class
  • Introspect java objects from Tcl
  • Throw and Catch Java exceptions from Tcl
  • Lock and Unlock Java objects so that they aren't garbage collected
  • Import and un-import java classes to/from Tcl
  • Full access to aolserver database api from within user-defined java classes