I'm thinking about using JavaBlend to gain access to Java's
CORBA, RMI or EJB capability. Has anyone successfully accomplished this
soft of thing in a significant multi-threaded TCL/TK application?
Currently I'm using a C/C++ loadable server module that interacts
with the TK GUI via the Tcl_AsyncMark/Tcl_EventQueue approach
outlined in David Gavereux's paper found in the TES distribution at:
http://sourceforge.net/project/showfiles.php?group_id=1616&release_id=47195
Essentially, messages from the loadable server are asyncronously sent to the
GUI via the Event Queue rather than the non-thead-safe direct Tcl_Eval
approach that is guaranteed to eventually give you a core dump.
Any lessons learned or comments are appreciated.
Thanks,
Rob
|