Re: [tcljava-dev] Jacl and JDBC
Brought to you by:
mdejong
From: Mo D. <su...@ba...> - 2002-02-06 16:13:18
|
On Wed, 6 Feb 2002 16:25:56 +0100 (CET) "Bas Scheffers" <ba...@sc...> wrote: > > But then I noticed that TclJava gives you everything at hand, > > what you need to use JDBC in Tcl. No need for an extra interface. > > You can access all and everything of JDBC almost as easy as from > > inside Java. I hope the following lines will be a proof of this. > > Makes sense. What is generaly a higher performance method, doing it all in > Java and adding your own commands to the interpreter, or using ::java::* > calls? For what I am working on, I have a pool of interpreters in a > servlet, so every milliseconds counts. Using the java::* commands would likely be the slowest. It is hard to pin down exactly what the diff between the other two options is, it would depend on how you implemented things. cheers Mo DeJong P.S. Just an FYI, it might have been better to ask your question on tcljava-user instead of tcljava-dev. The dev list is for discussion of implementation details of tcljava itself. |