[Tcl Java] RE: [Tcl Java] Re: Thread safety (was: Using JACL in servlets)

2000-05-01 Thread Jiang Wu
You have a good point. The shell is a special case that takes a shortcut when used with a file argument. In the case of a file argument, there is only one thread for the Shell. The console thread is never created. As a result, it is valid for the main thread to call interp.evalFile() without u

[Tcl Java] Re: Thread safety (was: Using JACL in servlets)

2000-05-01 Thread Jeff Sturm
Mo DeJong wrote: > It does. The docs say that ALL methods that interact with an interp > instance and thread unsafe. For this reason, all interp interaction > needs to be done from the Tcl event queue thread. Here is a quick > example that call the "unsafe" eval() method using the Notifier > to qu

[Tcl Java] Re: [Tcl Java] Use of JACL in JFC Actions

2000-05-01 Thread Mo DeJong
Why do Java folks always create a new term for every little bit of code they write? A "JFC Action" is nothing more than a callback on an interface. You can use these in Jacl directly with the java::bind command. If you really want to see a cool way to use JFC clases with Jacl check out http://www

[Tcl Java] Re: Thread safety (was: Using JACL in servlets)

2000-05-01 Thread Mo DeJong
On Mon, 1 May 2000, Jeff Sturm wrote: > Mo DeJong wrote: > > The term "thread safe" is very misleading. Jacl interps are safe > > if you use them properly. The problem is that the documentaiton > > about how to use them properly is a little thin. There is no "automatic thread safety" in TclJava.

[Tcl Java] Thread safety (was: Using JACL in servlets)

2000-05-01 Thread Jeff Sturm
Mo DeJong wrote: > The term "thread safe" is very misleading. Jacl interps are safe > if you use them properly. The problem is that the documentaiton > about how to use them properly is a little thin. You could say the same about most Java code. But I agree the term "thread safe" is not very pre

[Tcl Java] Use of JACL in JFC Actions

2000-05-01 Thread Lee Hall
There is an interesting article at http://www.javaworld.com/jw-04-2000/jw-0414-action.html?041800txt where the author discusses the use of the Command pattern to separate GUI design from implementation in a manner similar to the use of JACL described at http://www.javafoundry.com/~lhall/weld/ Are

[Tcl Java] Re: [Tcl Java] Re: Using JACL in servlets

2000-05-01 Thread Mo DeJong
On Tue, 25 Apr 2000, Jeff Sturm wrote: > Lee T Hall wrote: > > WELD is an acronym for "Web Enabled Logic Documents" and performs > > server parsing of HTML with JACL. > [...] > > Very nice article you've written on your rationale for WELD. I've had > many of the same thoughts about Web programm

[Tcl Java] TclJava 1.2.6 is ready, please download and test.

2000-05-01 Thread Mo DeJong
I have just posted the source code and precompiled windows binaries for the final 1.2 release of Jacl and Tcl Blend. Please test these new releases before they go up on the official TclJava download page at Scriptics (they will "go live" on the Scriptics site in about a week). This is going to b