Re: Standard Database Interface?



On Oct 22, 10:48 pm, Patrick Finnegan <finnegan.patr...@xxxxxxxxx>
wrote:
On Oct 22, 6:00 am, tcltk...@xxxxxxx wrote:



On Oct 21, 2:09 pm, Patrick Finnegan <finnegan.patr...@xxxxxxxxx>
wrote:

On Oct 21, 7:09 pm, tcltk...@xxxxxxx wrote:

On Oct 20, 5:47 pm, Patrick Finnegan <finnegan.patr...@xxxxxxxxx>
wrote:

On Oct 19, 11:23 am, tcltk...@xxxxxxx wrote:

I was surfing the web randomly and came across perl. I clicked the
link to CPAN and found database api for so many databases and was very
envious. How I wish we could have something like that in tcl/tk.
Here's the linkhttp://search.cpan.org/search?query=DBD%3A%3A&mode=module.

Use Tclblend with JDBC drivers. Seewww.patrickfinnegan.comfor
Windows binary and examples athttp://aspn.activestate.com/ASPN/Cookbook/Tcl?kwd=TclBlend.

If I were to use tclblend would I lose any functionality? Can I still
use native tcl and binary packages. What is the trade off?

TclBlend supports all native tcl and binary packages that work with
Tcl 8.4.13. The trade off is TclBlend supports point releases of Tcl
and Java i.e Tcl/TK 8.4.13 and Java 1.4.2.12. Compiling other
versions of tcl/java may work but is untested. AFAIK only a Windows
binary is available so other platforms require local compilation of
the source unless of course someone builds installation packages for
distribution to the target platform. I suggest you grab the Windows
version and test your scripts against it. Just copy any required none
core tcl and third party packages to the installation lib directory
after expanding the zip file. For non Windows platforms download fromhttp://tcljava.sourceforge.net/docs/website/index.htmland
compile.

I'm very dependent on ready made binary distribution so can someone be
patient enough to show me a step by step method on how to compile
tclblend on ubuntu linux. I notice on MS Windows binary that there is
a folder named j2sdk1.4.2_12. I'm sure I need to include this.

Thanks.

I only work with Windows systems. Suggest you post to tcljava mail
list re Ubuntu. Seehttps://lists.sourceforge.net/lists/listinfo/tcljava-user.

The Unix compile instructions are included with the Unix source
download athttp://sourceforge.net/project/showfiles.php?group_id=13005.

The physical location of the Java runtime is specified at compile
time. Since we don't know the location or version of the Java
runtime on the end user's machine the Java runtime needs to be
distributed with the TclBlend binary. For Windows the Java runtime is
placed in a subdirectory of the directory to hold the Tcl binary which
is specified at compile time.

If you decide to use JDBC via TclBlend they you may be able to use
Hibernate ORM as well. Here is an article on using Hibernate outside
the container from a standalone command line Java app.

http://www.onjava.com/pub/a/onjava/2005/11/16/hibernate-for-java-se.html


.



Relevant Pages

  • Re: Standard Database Interface?
    ... Windows binary and examples athttp://aspn.activestate.com/ASPN/Cookbook/Tcl?kwd=TclBlend. ... use native tcl and binary packages. ... patient enough to show me a step by step method on how to compile ... The physical location of the Java runtime is specified at compile ...
    (comp.lang.tcl)
  • Re: apache and websh
    ... TclStackFree: incorrect freePtr. ... compile and runWebshon XP, and theWebshtest suite works even with AS ... I compile tcl 8.4.15 on windows xp and 2003 run the Tcl's ...
    (comp.lang.tcl)
  • Re: Standard Database Interface?
    ... Windows binary and examples athttp://aspn.activestate.com/ASPN/Cookbook/Tcl?kwd=TclBlend. ... use native tcl and binary packages. ... patient enough to show me a step by step method on how to compile ...
    (comp.lang.tcl)
  • Re: A novice college student needs the help of the true "guru"s!
    ... Q. On what platforms is NetBeans Developer available? ... Microsoft Windows operating environments. ... but I run Java 2 under ... and use the command line to compile and run ...
    (comp.lang.java.programmer)
  • Re: Tcl Dll problem
    ... information system developed in TCL. ... In Windows I can compile the APi without an error, ... program starts(the same thing is in linux version). ...
    (comp.lang.tcl)